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访问的话,点击登陆按钮不会有任何反应……

继续阅读kubernetes dashboard 安装流程

Unable to update cni config: No networks found in /etc/cni/net.d

17666 cni.go:171] Unable to update cni config: No networks found in /etc/cni/net.d
17666 kubelet.go:2125] Container runtime network not ready: NetworkReady=false reason:NetworkPluginNotReady message:docker: network plugin is not ready: cni config uninitialized

issue讨论

之前的文章

去掉$KUBELET_NETWORK_ARGS是一个治标不治本的解决办法

可能是原因之一是:国内无法Pull quay.io/coreos/flannel:v0.10.0-amd64这个镜像

具体表现为:/etc/cni/net.d/目录下没有文件或根本没有这个目录

继续阅读Unable to update cni config: No networks found in /etc/cni/net.d