我尝试安装Rancher v1.3.1并启用Kubernetes Environment,安装看起来没问题,但当我导航到Dashboard但结果是空白页面时,我检查了两个部署:kubernetes-dashboard和tiller-deploy restart every time with log:
初始化到Kubernetes apiserver的连接时出错。这很可能意味着集群配置错误(例如,它具有无效的apiserver证书或服务帐户配置),或者--apiserver-host参数指向不存在的服务器。原因:获取https://10.43.0.1:443/version:拨号tcp 10.43.0.1:443: i/o超时
我不知道为什么,请帮帮我
我不知道为什么用于expos10.43.0.1:443的kubernetes服务与其他服务(kube-system)属于不同的名称空间(默认)。
发布于 2020-08-10 22:03:33
请尝试通过在部署中编辑以下内容来从使用https://10.43.0.1:443切换到http://10.43.0.1。
args:
- --auto-generate-certificates
- --namespace=kubernetes-dashboard
# Uncomment the following line to manually specify Kubernetes API server Host
# If not specified, Dashboard will attempt to auto discover the API server and connect
# to it. Uncomment only if the default does not work.
- --apiserver-host=http://10.43.0.1https://stackoverflow.com/questions/41741542
复制相似问题