From 8dd1fa2992d1f1c8180bc30041359388ff9c02d6 Mon Sep 17 00:00:00 2001 From: Pengfei Ni Date: Fri, 4 Aug 2017 16:49:00 +0800 Subject: [PATCH] Add deployments for stackube addons Deploy stackube addons, including * stackube-controller * stackube-proxy * kubestack cni plugin * kube-dns Change-Id: I44bcaad3b30931ba79c80f37b0e33033ef94bca5 --- devstack/kubeadm.yaml | 2 ++ devstack/plugin.sh | 75 +++++++++++++++++++++++-------------------- devstack/settings | 4 +-- 3 files changed, 45 insertions(+), 36 deletions(-) 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 <