Fix calico workaround for deployment without TTY

Change-Id: Icc4494ef4ba2edd881535eca2d15a72160fdd234
This commit is contained in:
Matthew Mosesohn 2017-02-06 13:06:47 +04:00
parent 778a3a8d5b
commit c2a82b31e9
1 changed files with 2 additions and 2 deletions

View File

@ -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