Fix calico workaround for deployment without TTY
Change-Id: Icc4494ef4ba2edd881535eca2d15a72160fdd234
This commit is contained in:
parent
778a3a8d5b
commit
c2a82b31e9
|
@ -42,11 +42,11 @@
|
|||
networking
|
||||
{%- endif %}
|
||||
|
||||
- name: Restart networking, kubelet, and docker services
|
||||
- name: Restart networking, dhclient, and calico-felix
|
||||
shell: "{{ item }}"
|
||||
when: needs_network_reset|bool and inventory_hostname in groups['k8s-cluster']
|
||||
with_items:
|
||||
- systemctl restart {{ networking_service_name }}
|
||||
- killall dhclient --older-than {{ mtime_dhclientconf }}s
|
||||
- docker exec -t -i calico-node killall -HUP calico-felix
|
||||
- docker exec calico-node killall -HUP calico-felix
|
||||
|
||||
|
|
Loading…
Reference in New Issue