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
curl -O https://storage.googleapis.com/configs.kuar.io/kube-ui-rc.yaml
kubectl create -f kube-ui-rc.yaml
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.