9cb12cf250
By default kubedns and dnsmasq scale when installed. Dnsmasq is no longer a daemonset. It is now a deployment. Kubedns is no longer a replicationcluster. It is now a deployment. Minimum replicas is two (to enable rolling updates). Reduced memory erquirements for dnsmasq and kubedns
9 lines
235 B
YAML
9 lines
235 B
YAML
---
|
|
- name: Delete legacy dnsmasq daemonset
|
|
kube:
|
|
name: dnsmasq
|
|
namespace: "{{system_namespace}}"
|
|
kubectl: "{{bin_dir}}/kubectl"
|
|
resource: "ds"
|
|
state: absent
|
|
when: inventory_hostname == groups['kube-master'][0]
|