Check dnsmasq on first kube-node

kube-masters without kube-node role will not run
kube-proxy, and therefore can't check if dnsmasq
is running.

Fixes #368
This commit is contained in:
Matthew Mosesohn 2016-08-05 16:55:04 +04:00
parent 637eabccce
commit acae5d4286

View file

@ -55,7 +55,7 @@
host: "{{dns_server}}" host: "{{dns_server}}"
port: 53 port: 53
delay: 5 delay: 5
when: inventory_hostname == groups['kube-master'][0] when: inventory_hostname == groups['kube-node'][0]
- name: check resolvconf - name: check resolvconf