Skip to content
Snippets Groups Projects
Commit 09bbdadc authored by Erwan Miran's avatar Erwan Miran Committed by Kubernetes Prow Robot
Browse files

remove nodelocaldns iface on reset (#4460)

parent d711a0c8
No related branches found
No related tags found
No related merge requests found
...@@ -153,6 +153,17 @@ ...@@ -153,6 +153,17 @@
- kube_proxy_mode == 'ipvs' - kube_proxy_mode == 'ipvs'
- kube_ipvs0.stat.exists - kube_ipvs0.stat.exists
- name: reset | check nodelocaldns network device
stat:
path: /sys/class/net/nodelocaldns
register: nodelocaldns_device
- name: reset | Remove nodelocaldns
command: "ip link del nodelocaldns"
when:
- enable_nodelocaldns|default(false)|bool
- nodelocaldns_device.stat.exists
- name: reset | delete some files and directories - name: reset | delete some files and directories
file: file:
path: "{{ item }}" path: "{{ item }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment