kubernetes dashboard 安装流程

参考:

访问设置相关:https://github.com/kubernetes/dashboard/wiki/Accessing-Dashboard—1.7.X-and-above

用户相关:https://github.com/kubernetes/dashboard/wiki/Creating-sample-user

https无法访问的问题:https://github.com/kubernetes/dashboard/issues/2954

说明

NOTE: Dashboard should not be exposed publicly using kubectl proxy command as it only allows HTTP connection. For domains other than localhost and 127.0.0.1 it will not be possible to sign in. Nothing will happen after clicking Sign in button on login page.

通过 kubectl proxy暴露的控制面板,如果不是从localhost或127.0.0.1访问的话,点击登陆按钮不会有任何反应……

1.准备证书,用于外部机器访问

2.安装

3.生成访问token

创建account.yaml

创建bind.yaml

apply

查看token

 

发表评论

电子邮件地址不会被公开。 必填项已用*标注