summaryrefslogtreecommitdiffstats
path: root/ci/k8.sh
blob: 51b2f57160ceb874852c6d36f63576a87d36fc7d (plain)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash
set -ex

opnfvfeature=$1

juju run-action kubernetes-worker/0 microbot replicas=3
juju config kubernetes-master enable-dashboard-addons=true || true
juju expose kubernetes-worker || true
juju scp -- -r kubernetes kubernetes-master/0:
juju ssh kubernetes-master/0 "/bin/bash kubernetes/post-install.sh $opnfvfeature"