Jor*_*oon 9 gitlab kubernetes kubernetes-helm
执行时会触发以下错误kubectl -n gitlab-managed-apps logs install-helm.
我已经尝试重新生成证书,并绕过证书检查.不知何故,它使用我的内部证书而不是源的证书.
root@dev # kubectl -n gitlab-managed-apps logs install-helm
+ helm init --tiller-tls --tiller-tls-verify --tls-ca-cert /data/helm/helm/config/ca.pem --tiller-tls-cert /data/helm/helm/config/cert.pem --tiller-tls-key /data/helm/helm/config/key.pem
Creating /root/.helm
Creating /root/.helm/repository
Creating /root/.helm/repository/cache
Creating /root/.helm/repository/local
Creating /root/.helm/plugins
Creating /root/.helm/starters
Creating /root/.helm/cache/archive
Creating /root/.helm/repository/repositories.yaml
Adding stable repo with URL: https://kubernetes-charts.storage.googleapis.com
Error: Looks like "https://kubernetes-charts.storage.googleapis.com" is not a valid chart repository or cannot be reached: Get https://kubernetes-charts.storage.googleapis.com/index.yaml: x509: certificate is valid for *.tdebv.nl, not kubernetes-charts.storage.googleapis.com
Run Code Online (Sandbox Code Playgroud)
这可能是什么问题?下面的屏幕截图是Gitlab给我的错误(也没有太多信息).
小智 7
遇到同样的问题后,我终于找到了解决方案:
在/etc/resolv.conf主节点和工作节点上的文件中,您必须搜索并删除search XYZ.com条目。
如果您使用的是 Jelastic,则每次重启后都必须删除此条目。它由 Jelastic 自动添加。我已经联系过他们,所以也许他们会很快修复它。
| 归档时间: |
|
| 查看次数: |
2026 次 |
| 最近记录: |