dnsmasq runs on all nodes
This commit is contained in:
parent
f58b4d3dd6
commit
63ae6ba5b5
1 changed files with 0 additions and 4 deletions
|
@ -32,7 +32,6 @@
|
|||
file:
|
||||
path: /etc/dnsmasq.d
|
||||
state: directory
|
||||
when: inventory_hostname in groups['kube-master']
|
||||
|
||||
- name: Write dnsmasq configuration
|
||||
template:
|
||||
|
@ -40,17 +39,14 @@
|
|||
dest: /etc/dnsmasq.d/01-kube-dns.conf
|
||||
mode: 755
|
||||
backup: yes
|
||||
when: inventory_hostname in groups['kube-master']
|
||||
|
||||
- name: Create dnsmasq pod manifest
|
||||
template: src=dnsmasq-pod.yml dest=/etc/kubernetes/manifests/dnsmasq-pod.manifest
|
||||
when: inventory_hostname in groups['kube-master']
|
||||
|
||||
- name: Check for dnsmasq port (pulling image and running container)
|
||||
wait_for:
|
||||
port: 53
|
||||
delay: 5
|
||||
when: inventory_hostname in groups['kube-master']
|
||||
|
||||
- name: check resolvconf
|
||||
stat: path=/etc/resolvconf/resolv.conf.d/head
|
||||
|
|
Loading…
Reference in a new issue