k8s 部署 dashboard 面板

安装helm后

添加仓库

helm repo add kubernetes-dashboard https://kubernetes.github.io/dashboard/

helm repo update

安装

helm install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard --namespace kubernetes-dashboard --set service.type=NodePort

复制代码
[admin@localhost data]$ helm install kubernetes-dashboard kubernetes-dashboard/kubernetes-dashboard  --set service.type=NodePort     NAME: kubernetes-dashboard
LAST DEPLOYED: Sat Jan 24 17:59:53 2026
NAMESPACE: default
STATUS: deployed
REVISION: 1
DESCRIPTION: Install complete
TEST SUITE: None
NOTES:
*************************************************************************************************
*** PLEASE BE PATIENT: Kubernetes Dashboard may need a few minutes to get up and become ready ***
*************************************************************************************************

Congratulations! You have just installed Kubernetes Dashboard in your cluster.

To access Dashboard run:
  kubectl -n default port-forward svc/kubernetes-dashboard-kong-proxy 8443:443

NOTE: In case port-forward command does not work, make sure that kong service name is correct.
      Check the services in Kubernetes Dashboard namespace using:
        kubectl -n default get svc

Dashboard will be available at:
  https://localhost:8443

启动比较慢,还需要拉取镜像,可能需要科学上网或者提前load image,

查看相关服务是否已经启动:

复制代码
[admin@localhost data]$ kubectl get po
NAME                                                    READY   STATUS                  RESTARTS   AGE
kubernetes-dashboard-api-8b6867ccf-sv5tg                0/1     ImagePullBackOff        0          85s
kubernetes-dashboard-auth-75d484b77-rwx2j               0/1     ErrImagePull            0          85s
kubernetes-dashboard-kong-9849c64bd-7zchs               0/1     Init:ImagePullBackOff   0          85s
kubernetes-dashboard-metrics-scraper-7685fd8b77-nzbx7   0/1     ImagePullBackOff        0          85s
kubernetes-dashboard-web-84df7cd7f8-ppxnf               0/1     ImagePullBackOff        0          85s
nginx-7d78c7fcdf-55z9w                                  1/1     Running                 0          41m
nginx-7d78c7fcdf-c8xbq                                  1/1     Running                 0          41m

访问: https://localhost:8443

成功!

相关推荐
阿里云云原生1 天前
研发视角的新突破:当 AI Coding 工具集成全域运维诊断,排查线上故障只需 3 分钟
云原生
小猿姐2 天前
唯品会大规模数据库云原生实践:基于 KubeBlocks 管理数千实例的统一运维之路
运维·elasticsearch·云原生
阿里云云原生2 天前
AgentTeams 和 Claude Tag 都进入群聊模式,是新范式还是新叙事?
云原生·agent
阿里云云原生3 天前
Higress v2.2.3 发布:正式入驻 CNCF Sandbox,AI Gateway 与 Ingress 迁移能力双向加固
云原生
lichenyang4533 天前
Docker 学习笔记(四):Dockerfile,把项目打成自己的镜像
docker·容器
lichenyang4533 天前
Docker 学习笔记(三):Docker 网络、bridge、子网和容器互通
docker·容器
lichenyang4533 天前
Docker 学习笔记(二):docker run 的参数到底在控制什么?
docker·容器
阿里云云原生4 天前
香港站【企业 AI Agent 工程化实战专场】来啦,邀您7月9日见!
云原生·agent
阿里云云原生4 天前
研发域与运维域的“数字握手”:通过 Agentic Skills 实现 DevOps 全链路自动化
云原生
运维开发故事6 天前
基于 Arthas 的多集群在线诊断系统设计与实现
kubernetes