Browse Source

Enable nodelocaldns by default (#4461)

* Enable nodelocaldns by default

* Enable nodelocaldns by default

* nodelocaldns is now default

* Disable enable_nodelocaldns for the addons CI jobs

Disable enable_nodelocaldns for the addons CI jobs to make sure things still work without nodelocaldns
pull/4507/head
Andreas Krüger 6 years ago
committed by Kubernetes Prow Robot
parent
commit
4ff851b302
3 changed files with 3 additions and 3 deletions
  1. 2
      inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml
  2. 2
      roles/kubespray-defaults/defaults/main.yaml
  3. 2
      tests/files/gce_centos7-flannel-addons.yml

2
inventory/sample/group_vars/k8s-cluster/k8s-cluster.yml

@ -132,7 +132,7 @@ dns_mode: coredns
# Set manual server if using a custom cluster DNS server
# manual_dns_server: 10.x.x.x
# Enable nodelocal dns cache
enable_nodelocaldns: False
enable_nodelocaldns: true
nodelocaldns_ip: 169.254.25.10
# Can be docker_dns, host_resolvconf or none

2
roles/kubespray-defaults/defaults/main.yaml

@ -62,7 +62,7 @@ ndots: 2
dns_mode: coredns
# Enable nodelocal dns cache
enable_nodelocaldns: False
enable_nodelocaldns: true
nodelocaldns_ip: 169.254.25.10
# Should be set to a cluster IP if using a custom cluster DNS

2
tests/files/gce_centos7-flannel-addons.yml

@ -21,5 +21,5 @@ cert_manager_enabled: true
metrics_server_enabled: true
kube_token_auth: true
kube_basic_auth: true
enable_nodelocaldns: true
enable_nodelocaldns: false
local_path_provisioner_enabled: true
Loading…
Cancel
Save