Gate: make pod subnet configurable

Make the CNI pod subnet configurable/overridable.

Change-Id: I5fa3a2178ad3a61c1bf939fc3c08c787169d350b
This commit is contained in:
Matt McEuen 2017-11-04 15:33:44 -05:00
parent 75b656dc58
commit 2b185f5735
3 changed files with 3 additions and 2 deletions

View File

@ -44,7 +44,7 @@
PVC_SUPPORT_CEPH=true
PVC_SUPPORT_NFS=true
NET_SUPPORT_LINUXBRIDGE=true
KUBE_NET_POD_SUBNET=192.168.0.0/16
KUBE_NET_POD_SUBNET="{{ kubernetes.cluster.pod_subnet }}"
KUBE_NET_DNS_DOMAIN=cluster.local
CONTAINER_RUNTIME=docker
register: kubeadm_master_deploy

View File

@ -46,7 +46,7 @@
PVC_SUPPORT_CEPH=true
PVC_SUPPORT_NFS=true
NET_SUPPORT_LINUXBRIDGE=true
KUBE_NET_POD_SUBNET=192.168.0.0/16
KUBE_NET_POD_SUBNET="{{ kubernetes.cluster.pod_subnet }}"
KUBE_NET_DNS_DOMAIN=cluster.local
CONTAINER_RUNTIME=docker
KUBELET_NODE_LABELS="{{ kubeadm_kubelet_labels }}"

View File

@ -24,6 +24,7 @@ kubernetes:
default_device: null
cluster:
cni: calico
pod_subnet: 192.168.0.0/16
nodes:
labels: