【发布时间】:2020-07-18 21:35:56
【问题描述】:
我在本地机器(http://kubernetes.dolphin.com:8443/#/login)登录kubernetes仪表盘,我在/etc/hosts中定义了一个虚拟域名:
192.168.31.30 kubernetes.dolphin.com
现在我正在使用此域登录 kubernetes 仪表板,但它给了我提示:
Insecure access detected. Sign in will not be available. Access Dashboard securely over HTTPS or using localhost.
是否可以关闭 kubernetes 仪表板(kubernetesui/dashboard:v2.0.3)在 kubernetes 仪表板 yaml 中进行 tls 安全检查?因为我的 kubernetes 在 localhost 机器上并且不需要 TLS 安全性。现在我的登录仪表板看起来像这样。
【问题讨论】:
-
您尝试改用
https吗?喜欢https://kubernetes.dolphin.com:8443/#/login并在不安全的屏幕上单击继续,看看您是否可以登录? -
https 它给我提示页面未找到错误。@vijay
-
你能检查仪表板 pod 日志,在这里发布相同的内容吗?
-
日志显示
2020-07-18T06:06:54.534154842Z 2020/07/18 06:06:54 Metric client health check failed: the server could not find the requested resource (get services dashboard-metrics-scraper). Retrying in 30 seconds.@vijay -
你能看看这个帖子里的步骤吗@Dolphin kubernetes-dashboard-error-metric-client-health-check-failed-the-server
标签: kubernetes