【问题标题】:Rancher v1.3.1 Kubernetes Dashboard not workingRancher v1.3.1 Kubernetes 仪表板不工作
【发布时间】:2017-06-04 03:17:52
【问题描述】:

我尝试安装 Rancher v1.3.1 并启用 Kubernetes 环境,安装似乎没问题,但是当我导航到仪表板但结果是空白页面时,我检查 2 部署:kubernetes-dashboard 和 tiller-deploy 每次都使用日志重新启动:

初始化与 Kubernetes apiserver 的连接时出错。这很可能意味着集群配置错误(例如,它具有无效的 apiserver 证书或服务帐户配置)或 --apiserver-host 参数指向不存在的服务器。原因:获取https://10.43.0.1:443/version:拨打tcp 10.43.0.1:443:i/o超时

我不知道为什么,请帮助我

我不知道为什么用于暴露 10.43.0.1:443 的 kubernetes 服务与其他(kube-system)属于不同的命名空间(默认)

【问题讨论】:

  • 尝试直接向牧场主slack提出这些问题。

标签: kubernetes rancher


【解决方案1】:

请尝试通过在部署中编辑以下内容从使用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.1

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2018-11-19
    • 1970-01-01
    • 2023-03-12
    • 2017-01-12
    • 2020-01-14
    • 2018-05-10
    • 1970-01-01
    • 2019-05-09
    相关资源
    最近更新 更多