当前位置:网站首页>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;
边栏推荐
- Spark Learning Notes (VII) -- spark core core programming - RDD serialization / dependency / persistence / partition / accumulator / broadcast variables
- Unity free element special effect recommendation
- SQL优化
- Junda technology | applicable to "riyueyuan" brand ups wechat cloud monitoring card
- Win11vmware turns on the virtual machine and restarts on the blue screen and the solution that cannot be started
- Sword finger offer II 115: reconstruction sequence
- Leetcode 879. profit plan
- Image noise and matrix inversion
- [cf1054h] epic Revolution -- number theory, convolution, arbitrary modulus NTT
- spark学习笔记(七)——sparkcore核心编程-RDD序列化/依赖关系/持久化/分区器/累加器/广播变量
猜你喜欢

MVFuseNet:Improving End-to-End Object Detection and Motion Forecasting through Multi-View Fusion of

Operator3-设计一个operator

CVPR2021| 基于自监督学习的多视图立体匹配 (CVPR2021)

LeetCode 879. 盈利计划

win11VMware打开虚拟机就蓝屏重启以及启动不了的解决方案

Connecting PHP 7.4 to Oracle configuration on Windows

SQL优化

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

Vite3.0 has been released, can you still roll it (list of new features)

dba
随机推荐
CVPR2021| 基于自监督学习的多视图立体匹配 (CVPR2021)
MySQL queries are case sensitive
数组的子集能否累加出K
[C language brush leetcode] 2332. The latest time to get on the bus (m)
Flink实时仓库-DWD层(流量域)模板代码
使用VsCode配置MySQL实现连接、查询、等功能
Implementation of book borrowing management system based on C language
[Charles' daily problems] when you open Charles, you can't use nails
Simulation volume leetcode [normal] 061. rotating linked list
2D cartoon rendering - advanced skills
Cvpr2022oral special series (I): low light enhancement
[C language brush leetcode] 67. binary sum (E)
网上传说软件测试培训真的那么黑心吗?都是骗局?
Relative date used by filter in salesforce
MVFuseNet:Improving End-to-End Object Detection and Motion Forecasting through Multi-View Fusion of
做开发4年13K,想转行自动化测试,薪资还能涨吗···
Unity free element special effect recommendation
Vmware16 create virtual machine: cannot create a new virtual machine, do not have permission to perform this operation
Thread - thread safety - thread optimization
DM data guard cluster setup