当前位置:网站首页>[cloud native]kubernetes visual interface webui kubernetes dashboard
[cloud native]kubernetes visual interface webui kubernetes dashboard
2022-06-10 03:37:00 【kiranet】
1.Kubernetes Dashboard
Dashboard It's web based Kubernetes The user interface . You can use Dashboard Deploy the container application to Kubernetes In the cluster , You can also apply debugging to containers , It can also manage cluster resources . You can use Dashboard Get the overview information of the applications running in the cluster , You can also create or modify Kubernetes resources ( Such as Deployment,Job,DaemonSet wait ). for example , You can be right Deployment Achieve elastic scaling 、 Initiate rolling upgrade 、 restart Pod Or use the wizard to create a new application .
Dashboard At the same time, it shows Kubernetes Resource status information and all error messages in the cluster .
2. install
By default... Is not deployed Dashboard. You can deploy with the following command :
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.0/aio/deploy/recommended.yaml
2.1 The connection to the server raw.githubusercontent.com was refused - did you specify the right host or port?
Use https://www.ipaddress.com/ Inquire about raw.githubusercontent.com Of IP, Set up host file

#sudo vim /etc/hosts
199.232.96.133 raw.githubusercontent.com#kubectl edit cm kube-proxy -n kube-system
In the configuration file
Find out mode project , My current configuration is mode:“”, It is amended as follows mode: "ipvs"
#kubectl get pod -n kube-system | grep kube-proxy | awk '{system("kubectl delete pod "$1" -n kube-system")function
#kubectl proxy
visit
http://localhost:8001/api/v1/namespaces/kubernetes-dashboard/services/https:kubernetes-dashboard:/proxy/ 3. visit Kubernetes Dashboard
After successful startup, we will see the following interface

Run... On the console , Copy the generated token You can log in at the input box .
#kubectl -n kube-system describe secret $(kubectl -n kube-system get secret | grep admin-user | awk '{print $1}')
quote :1.https://kubernetes.io/zh/docs/tasks/access-application-cluster/web-ui-dashboard/
边栏推荐
猜你喜欢
![[loss calculation in yolov3]](/img/8c/1ad99b8fc1c5490f70dc81e1e5c27e.png)
[loss calculation in yolov3]

文本输入,js防注入,识别网址

New function official publicity playfab makes cross platform game architecture so simple

【加速 PyTorch 模型训练的 9 个技巧】

IDE问题(一)微信开发者工具打不开

Vulnhub's hacksudo:thor

Refactoring method --extract method

RPC 实战与核心原理-高级篇笔记

Storage of data (integer, floating-point, super detailed)

How to customize ThreadPoolExecutor thread pool gracefully
随机推荐
[yolov3 loss function]
重构--Introduce Parameter Object
MySQL从0到1全部合集,强烈建议收藏
【yolov3损失函数】
Is it the same thing to evaluate the network security level and the security of commercial password applications?
关键字分类与第一个C程序
Multithreaded usage scenarios
The playback capacity of a single video is more than 8000w, so hard core cooking is so superior
EasyExcel 实现动态导入导出
Keyword Auto
数据的存储(整型,浮点型超详细)
Implementation of multithreading
【PyTorch预训练模型修改、增删特定层】
答辩前电脑坏了......
C language question brushing series (III)
Flowable deploy processes in three ways
Using the responsibility chain pattern to reconstruct the original code
134. gas station
ACL 2022 | the latest hot research in NLP field, you must not miss it!
重构手法--Extract Method
