Skip to content

Latest commit

 

History

History
59 lines (41 loc) · 981 Bytes

cluster-add-on-ui.md

File metadata and controls

59 lines (41 loc) · 981 Bytes

Cluster Add-on: UI

Create kube-system namespace:

laptop

cat <<EOF > kube-system-ns.yaml
apiVersion: v1
kind: Namespace
metadata:
  name: kube-system
EOF
kubectl create -f kube-system-ns.yaml 

List the all namespaces:

kubectl get namespaces

Spawn kube-ui Replication Controller:

curl -O https://storage.googleapis.com/configs.kuar.io/kube-ui-rc.yaml
kubectl create -f kube-ui-rc.yaml

Create the kube-ui Service:

curl -O https://storage.googleapis.com/configs.kuar.io/kube-ui-svc.yaml
kubectl create -f kube-ui-svc.yaml

Verify:

kubectl --namespace=kube-system get rc,services

At this point the Kubernetes UI add-on should be up and running. The Kubernetes API server provides access to the UI via the /ui endpoint.

kubectl proxy --port=8080 &

The UI is available at http://127.0.0.1:8080/api/v1/proxy/namespaces/kube-system/services/kube-ui/#/dashboard/ on the client machine.