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.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。