If you are using a released version of Kubernetes, you should refer to the docs that go with that version.
The latest 1.0.x release of this document can be found [here](http://releases.k8s.io/release-1.0/docs/user-guide/ui.md).Documentation for other releases can be found at releases.k8s.io.
Kubernetes has a web-based user interface that displays the current cluster state graphically.
By default, the Kubernetes UI is deployed as a cluster addon. To access it, visit https://<kubernetes-master>/ui
, which redirects to https://<kubernetes-master>/api/v1/proxy/namespaces/kube-system/services/kube-ui/#/dashboard/
.
If you find that you're not able to access the UI, it may be because the kube-ui service has not been started on your cluster. In that case, you can start it manually with:
kubectl create -f cluster/addons/kube-ui/kube-ui-rc.yaml --namespace=kube-system
kubectl create -f cluster/addons/kube-ui/kube-ui-svc.yaml --namespace=kube-system
Normally, this should be taken care of automatically by the kube-addons.sh
script that runs on the master.
The Kubernetes UI can be used to introspect your current cluster, such as checking how resources are used, or looking at error messages. You cannot, however, use the UI to modify your cluster.
After accessing Kubernetes UI, you'll see a homepage dynamically listing out all nodes in your current cluster, with related information including internal IP addresses, CPU usage, memory usage, and file systems usage.
Click on the "Views" button in the top-right of the page to see other views available, which include: Explore, Pods, Nodes, Replication Controllers, Services, and Events.
The "Explore" view allows your to see the pods, replication controllers, and services in current cluster easily. The "Group by" dropdown list allows you to group these resources by a number of factors, such as type, name, host, etc. You can also create filters by clicking on the down triangle of any listed resource instances and choose which filters you want to add. To see more details of each resource instance, simply click on it.
Other views (Pods, Nodes, Replication Controllers, Services, and Events) simply list information about each type of resource. You can also click on any instance for more details.
For more information, see the Kubernetes UI development document in the www directory.