~narindergupta/opnfv/stable-R2

« back to all changes in this revision

Viewing changes to ci/k8.sh

  • Committer: Guo Ruijing
  • Date: 2017-10-18 23:25:56 UTC
  • Revision ID: git-v1:0b6cf885239f5612c19db205d9a827572ad73c8a
add intel multus cni support

Change-Id: I5670a824c62f6b41dddb7792c851d8b838d28b50
Signed-off-by: Guo Ruijing <ruijing.guo@intel.com>

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#!/bin/bash
2
2
set -ex
 
3
 
 
4
opnfvfeature=$1
 
5
 
3
6
juju run-action kubernetes-worker/0 microbot replicas=3
4
 
sleep 30
5
7
juju config kubernetes-master enable-dashboard-addons=true || true
6
8
juju expose kubernetes-worker || true
7
 
 
8
 
juju ssh kubernetes-master/0 "/snap/bin/kubectl cluster-info"
9
 
juju ssh kubernetes-master/0 "/snap/bin/kubectl get nodes"
10
 
juju ssh kubernetes-master/0 "/snap/bin/kubectl get pods --all-namespaces"
11
 
juju ssh kubernetes-master/0 "/snap/bin/kubectl get services,endpoints,ingress --all-namespaces"
 
9
juju scp -- -r kubernetes kubernetes-master/0:
 
10
juju ssh kubernetes-master/0 "/bin/bash kubernetes/post-install.sh $opnfvfeature"