commit | a61b72ba122eae1fe37625c86265a2475ee72915 | [log] [tgz] |
---|---|---|
author | Victor Ryzhenkin <vryzhenkin@mirantis.com> | Tue May 08 17:58:21 2018 +0400 |
committer | Victor Ryzhenkin <vryzhenkin@mirantis.com> | Tue May 08 18:50:01 2018 +0400 |
tree | 3edcb272f9809462815e841890b79599372f24cd | |
parent | 7d6f7fbcf73d25760f19978ecad008e3b24690bb [diff] |
Update dns settings for k8s-ha-calico Change-Id: Ib8ed210628ccbe22373c5d38bd89969f1f88d5cc
diff --git a/classes/cluster/k8s-aio-calico/kubernetes/compute.yml b/classes/cluster/k8s-aio-calico/kubernetes/compute.yml index ede1437..2cfbf60 100644 --- a/classes/cluster/k8s-aio-calico/kubernetes/compute.yml +++ b/classes/cluster/k8s-aio-calico/kubernetes/compute.yml
@@ -45,7 +45,7 @@ dns: - 10.254.0.10 - 172.18.176.4 - - 172.18.176.7 + - 172.18.208.44 interface: ens3: enabled: true
diff --git a/classes/cluster/k8s-aio-calico/kubernetes/init.yml b/classes/cluster/k8s-aio-calico/kubernetes/init.yml index 6e46f13..9f15d54 100644 --- a/classes/cluster/k8s-aio-calico/kubernetes/init.yml +++ b/classes/cluster/k8s-aio-calico/kubernetes/init.yml
@@ -70,6 +70,13 @@ linux: network: + resolv: + domain: k8s-aio-calico.local + options: + - ndots:5 + - timeout:2 + - attempts:4 + purge_hosts: true host: ctl01: address: ${_param:kubernetes_control_node01_address}