Kubernetes Dashboard 是 Kubernetes 生态中常用的管理界面,提供可视化操作能力。以下是访问和配置相关说明:

🛠️ 访问方式

  1. kubectl 命令行
    使用 kubectl proxy 启动本地代理:

    kubectl proxy
    

    访问地址:http://localhost:8001/api/v1/namespaces/kube-system/services/https:kubernetes-dashboard:/proxy/

  2. 直接访问 Service
    通过 kubectl get svc -n kube-system 查看 dashboard 服务的 ClusterIP,然后使用浏览器访问:
    https://<ClusterIP>:<Port>/

⚠️ 注意:生产环境建议使用 HTTPS 与身份认证

🔒 安全配置建议

📚 扩展阅读

点击查看 Kubernetes Dashboard 官方文档
了解更多关于 Kubernetes 安全实践

Kubernetes_Dashboard_Interface