commit | 1877dbd900710e29bb0f1f39282e204b7501a9ea | [log] [tgz] |
---|---|---|
author | Tomáš Kukrál <tomkukral@users.noreply.github.com> | Sat Apr 29 23:03:04 2017 +0200 |
committer | Tomáš Kukrál <tomkukral@users.noreply.github.com> | Sat Apr 29 23:03:04 2017 +0200 |
tree | 812b79c67d58bb62aa0d8b811dee07dacc3a20a8 | |
parent | 9f32b116f70083c82d019f52b2a5e4591c18c464 [diff] |
set services only on computes Change-Id: I9bfb8c8fa3dc8d71889efccb1bdae4462bb69988
diff --git a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml index 588c0c9..f71a6e6 100644 --- a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml +++ b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/compute.yml
@@ -29,3 +29,18 @@ common: hyperkube: image: ${_param:kubernetes_hyperkube_image} + linux: + network: + resolv: + dns: + - 10.254.0.10 + - 8.8.8.8 + - 8.8.4.4 + 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 79b48da..be84f15 100644 --- a/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/init.yml +++ b/classes/cluster/virtual-mcp11-k8s-calico/kubernetes/init.yml
@@ -55,23 +55,6 @@ linux: network: - interface: - ens4: - route: - kubernetes_services: - address: 10.254.0.0 - netmask: 255.255.0.0 - gateway: ${_param:single_address} - resolv: - dns: - - 10.254.0.10 - - 8.8.8.8 - - 8.8.4.4 - domain: virtual-mcp11-k8s-calico.local - options: - - ndots:5 - - timeout:2 - - attempts:2 host: ctl: address: ${_param:kubernetes_control_address}