Browse Source

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
pull/403/head
Matthew Mosesohn 8 years ago
parent
commit
acae5d4286
1 changed files with 1 additions and 1 deletions
  1. 2
      roles/dnsmasq/tasks/main.yml

2
roles/dnsmasq/tasks/main.yml

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

Loading…
Cancel
Save