sfg*_*ups 23 kubernetes kubernetes-helm
我正在尝试使用--dry-run选项测试我的开发头盔聊天部署输出.当我运行以下命令时,它试图连接到Kubernetes API服务器.
连接Kubernetes集群需要干运行选项吗?我只想检查部署yaml文件输出.
helm install mychart-0.1.0.tgz --dry-run --debug
Error: Get http://localhost:8080/api/v1/namespaces/kube-system/pods?labelSelector=app%3Dhelm%2Cname%3Dtiller: dial tcp [::1]:8080: connectex: No connection could be made because the target machine actively refused it.
Run Code Online (Sandbox Code Playgroud)
Eld*_*sis 43
还可以选择运行helm template ./mychart以呈现生成的YAML,而无需连接到分蘖.结合helm lint它是验证图表有效性的好方法.
| 归档时间: |
|
| 查看次数: |
27727 次 |
| 最近记录: |