Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
60 lines (41 sloc) 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.

You can’t perform that action at this time.