Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to install and use Kubernetes Dashboard

2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/01 Report--

This article shows you how to install and use Kubernetes Dashboard, the content is concise and easy to understand, can definitely brighten your eyes, through the detailed introduction of this article, I hope you can get something.

In order to provide a richer user experience, Kubernetes has also developed a Web-based Dashboard, which allows users to deploy containerized applications, monitor the status of applications, perform troubleshooting tasks and manage Kubernetes resources with Kubernetes Dashboard.

In Kubernetes Dashboard, you can view the running status of applications in the cluster, and you can also create and modify various Kubernetes resources, such as Deployment, Job, DaemonSet, and so on. Users can Scale Up/Down Deployment, execute Rolling Update, restart a Pod, or deploy a new application through a wizard. Dashboard can display the status and log information of various resources in the cluster.

It can be said that Kubernetes Dashboard provides most of the functions of kubectl, and you can choose according to the situation.

Installation

Kubernetes does not deploy Dashboard by default. You can install it with the following command:

Kubectl create-f https://raw.githubusercontent.com/kubernetes/dashboard/master/src/deploy/recommended/kubernetes-dashboard.yaml

Dashboard creates its own Deployment and Service in kube-system namespace.

Because Service is of ClusterIP type, we can change it to NodePort type through kubectl-- namespace=kube-system edit service kubernetes-dashboard for convenience.

To access Dashboard https://192.168.56.105:31614/ through a browser, the login interface is as follows:

Execute kubectl apply to make it effective.

The above content is how to install and use Kubernetes Dashboard. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, you are welcome to follow the industry information channel.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report