当前位置:网站首页>Kubernetes (V) -- deploy kubernetes dashboard
Kubernetes (V) -- deploy kubernetes dashboard
2022-07-29 07:13:00 【Moose in the forest】
Catalog
One 、 brief introduction
Kubernetes The dashboard is Kubernetes Cluster based on Web Common to UI, It allows users to manage and troubleshoot applications running in a cluster , And managing the cluster itself .
Github:
https://github.com/kubernetes/dashboard
Two 、 download yaml List of resources
wget https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.4/aio/deploy/recommended.yaml
Modify and download the following recommended.yaml file , Modify the two places in the red box

3、 ... and 、 application yaml List of resources
kubectl apply -f recommended.yaml ( detailed list )

Or directly in one step :
kubectl apply -f https://raw.githubusercontent.com/kubernetes/dashboard/v2.0.4/aio/deploy/recommended.yaml
Check it out. pod The success of , Note that the namespace is in the kubernetes-dashboard below .
kubectl get pod -n kubernetes-dashboard
Then the browser accesses :

Indicates the need to use https visit :
https://ip:30001/
Four 、 Generate Token

Need to enter token,token The following three commands are used to generate the
kubectl create serviceaccount dashboard-admin -n kube-system
kubectl create clusterrolebinding dashboard-admin --clusterrole=cluster-admin --serviceaccount=kube-system:dashboard-admin
kubectl describe secrets -n kube-system $(kubectl -n kube-system get secret | awk '/dashboard-admin/{print $1}')
obtain token;
边栏推荐
- npm install报错npm ERR Could not resolve dependency npm ERR peer
- Summary of OCR optical character recognition methods
- Flink实时仓库-DWD层(处理复杂数据-流和表的装换处理)模板代码
- 微服务远程调用
- 【C语言刷LeetCode】2332. 坐上公交的最晚时间(M)
- 【C语言刷LeetCode】67. 二进制求和(E)
- Leetcode 879. profit plan
- Student status management system based on C language design
- Simulation volume leetcode [normal] 081. Search rotation sort array II
- Simulation volume leetcode [general] 150. evaluation of inverse Polish expression
猜你喜欢

Decompilation of wechat applet

Basic knowledge of MySQL (high frequency interview questions)

Flink real time warehouse DWD layer (traffic domain) template code

Idea cannot find a database solution

建木持续集成平台v2.5.2发布

2022-07-28:以下go语言代码输出什么?A:AA;B:AB;C:BA;D:BB。 package main import ( “fmt“ ) func main() { f

最新百亿量化私募名单

Teacher Wu Enda's machine learning course notes 02 univariate linear regression

上采样之反卷积操作

Flink实时仓库-DWD层(交易域-加购维度退化处理)模板代码
随机推荐
Vite3.0 has been released, can you still roll it (list of new features)
网上传说软件测试培训真的那么黑心吗?都是骗局?
微服务远程调用
微信小程序的反编译
Thread - thread safety - thread optimization
Kubernetes (五) ---------部署 Kubernetes Dashboard
Overview of database system
Leetcode-592: fraction addition and subtraction
vim文本编辑器的一些使用小技巧
fillder使用
Analog volume leetcode [normal] 093. Restore IP address
图像加噪声与矩阵求逆
Teacher Wu Enda's machine learning course notes 02 univariate linear regression
Can MySQL export tables regularly?
Unity sends a post request to the golang server for parsing and returning
【C语言刷LeetCode】1054. 距离相等的条形码(M)
Thread synchronization - producers and consumers, tortoise and rabbit race, dual thread printing
CVPR2021| 基于自监督学习的多视图立体匹配 (CVPR2021)
MVFuseNet:Improving End-to-End Object Detection and Motion Forecasting through Multi-View Fusion of
Decompilation of wechat applet