diff --git a/devstack/kubeadm.yaml b/devstack/kubeadm.yaml index 1f58269..68beac9 100644 --- a/devstack/kubeadm.yaml +++ b/devstack/kubeadm.yaml @@ -11,3 +11,5 @@ apiServerExtraArgs: runtime-config: "api/all=true" feature-gates: "AllAlpha=true" experimental-keystone-url: "https://KEYSTONE_HOST:5000/v2.0" +networking: + podSubnet: "CLUSTER_CIDR" diff --git a/devstack/plugin.sh b/devstack/plugin.sh index 2841890..bb693d1 100644 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -15,33 +15,6 @@ STACKUBE_ROOT=$(dirname "${BASH_SOURCE}") -function configure_cni { - sudo mkdir -p /etc/cni/net.d - sudo sh -c "cat >/etc/cni/net.d/10-mynet.conf </etc/cni/net.d/99-loopback.conf <stackube-configmap.yaml <