commit | 3df2d16c90e323277f5ff674ca0f7aa8126708ad | [log] [tgz] |
---|---|---|
author | Tomáš Kukrál <tomkukral@users.noreply.github.com> | Tue May 02 11:50:38 2017 +0200 |
committer | Tomáš Kukrál <tomkukral@users.noreply.github.com> | Tue May 02 12:11:53 2017 +0200 |
tree | fb380f4deb8d0c9fd06fea0abc53948ffe7e0334 | |
parent | 1877dbd900710e29bb0f1f39282e204b7501a9ea [diff] |
set dns servers for mirantis internal network Change-Id: Iddfed4e1d65f2a70c8fb1d3457606d6add9679ae
diff --git a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml index f71a6e6..819acf9 100644 --- a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml +++ b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml
@@ -34,8 +34,8 @@ resolv: dns: - 10.254.0.10 - - 8.8.8.8 - - 8.8.4.4 + - 172.18.176.4 + - 172.18.176.7 interface: ens4: route: @@ -43,4 +43,10 @@ address: 10.254.0.0 netmask: 255.255.0.0 gateway: ${_param:single_address} - + interface: + ens4: + route: + kubernetes_services: + address: 10.254.0.0 + netmask: 255.255.0.0 + gateway: ${_param:single_address}
diff --git a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/init.yml b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/init.yml index be84f15..b45cbd5 100644 --- a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/init.yml +++ b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/init.yml
@@ -55,6 +55,12 @@ linux: network: + resolv: + domain: virtual-mcp11-k8s-calico.local + options: + - ndots:5 + - timeout:2 + - attempts:2 host: ctl: address: ${_param:kubernetes_control_address}