blob: b312a84e70bebe1aa5d3e77370a5186012f41a1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#!/bin/bash
set -ex
mkdir -p ~/.kube || true
juju scp kubernetes-master/0:config ~/.kube/config || true
juju scp kubernetes-master/0:kubectl ./kubectl || true
./kubectl cluster-info || true
juju config kubernetes-master enable-dashboard-addons=true || true
#./kubectl proxy
#http://localhost:8001/ui
./kubectl get nodes || true
#./kubectl create -f example.yaml || true
./kubectl get pods --all-namespaces || true
./kubectl get services --all-namespaces || true
juju expose kubernetes-worker || true
|