summaryrefslogtreecommitdiffstats
path: root/ci/kubernetes/post-install.sh
diff options
context:
space:
mode:
authorGuo Ruijing <ruijing.guo@intel.com>2017-10-18 19:22:04 -0400
committerGuo Ruijing <ruijing.guo@intel.com>2017-10-18 19:25:56 -0400
commit0b6cf885239f5612c19db205d9a827572ad73c8a (patch)
tree6b40c95a3eb544df4897238c9c1bb028d52303a7 /ci/kubernetes/post-install.sh
parent470472f807b118b235d7ff473a3e58bfaf8c293d (diff)
add intel multus cni support
Change-Id: I5670a824c62f6b41dddb7792c851d8b838d28b50 Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>
Diffstat (limited to 'ci/kubernetes/post-install.sh')
-rwxr-xr-xci/kubernetes/post-install.sh12
1 files changed, 12 insertions, 0 deletions
diff --git a/ci/kubernetes/post-install.sh b/ci/kubernetes/post-install.sh
new file mode 100755
index 00000000..104f9794
--- /dev/null
+++ b/ci/kubernetes/post-install.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+set -ex
+
+if [[ $1 == *"multus"* ]]; then
+ /snap/bin/kubectl apply -f kubernetes/kube_cni_multus.yml
+fi
+
+/snap/bin/kubectl apply -f kubernetes/nginx-app.yaml
+/snap/bin/kubectl cluster-info
+/snap/bin/kubectl get nodes
+/snap/bin/kubectl get pods --all-namespaces
+/snap/bin/kubectl get services,endpoints,ingress --all-namespaces