blob: 551c4a273f4f1433ae19960abb1f284f2dfd0997 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#!/bin/bash
set -ex
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"
|