diff options
Diffstat (limited to 'ci/k8.sh')
-rwxr-xr-x | ci/k8.sh | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -1,11 +1,10 @@ #!/bin/bash set -ex + +opnfvfeature=$1 + juju run-action kubernetes-worker/0 microbot replicas=3 -sleep 30 juju config kubernetes-master enable-dashboard-addons=true || true juju expose kubernetes-worker || true - -juju ssh kubernetes-master/0 "/snap/bin/kubectl cluster-info" -juju ssh kubernetes-master/0 "/snap/bin/kubectl get nodes" -juju ssh kubernetes-master/0 "/snap/bin/kubectl get pods --all-namespaces" -juju ssh kubernetes-master/0 "/snap/bin/kubectl get services,endpoints,ingress --all-namespaces" +juju scp -- -r kubernetes kubernetes-master/0: +juju ssh kubernetes-master/0 "/bin/bash kubernetes/post-install.sh $opnfvfeature" |