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

成功!

相关推荐
阿里云云原生2 天前
阿里云获评 Agentic AI 开发平台领导者,函数计算 AgentRun 赢下关键分!
云原生
蝎子莱莱爱打怪2 天前
Centos7中一键安装K8s集群以及Rancher安装记录
运维·后端·kubernetes
崔小汤呀3 天前
Docker部署Nacos
docker·容器
缓解AI焦虑3 天前
Docker + K8s 部署大模型推理服务:资源划分与多实例调度
docker·容器
阿里云云原生3 天前
MSE Nacos Prompt 管理:让 AI Agent 的核心配置真正可治理
微服务·云原生
阿里云云原生3 天前
当 AI Agent 接管手机:移动端如何进行观测
云原生·agent
阿里云云原生3 天前
AI 原生应用开源开发者沙龙·深圳站精彩回顾 & PPT下载
云原生
阿里云云原生3 天前
灵感启发:日产文章 100 篇,打造“实时热点洞察”引擎
云原生
1candobetter3 天前
Docker Compose Build 与 Up 的区别:什么时候必须重建镜像
docker·容器·eureka
~莫子3 天前
Haproxy七层负载详解+实验详细代码
云原生