在kuberneres中进行头盔安装-错误:此命令需要2个参数:发布名称,图表路径 [英] helm install in kuberneres - Error: This command needs 2 arguments: release name, chart path

查看:777
本文介绍了在kuberneres中进行头盔安装-错误:此命令需要2个参数:发布名称,图表路径的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试在Kubernertes中安装Che:

Trying to install Che in Kubernertes:

来自: https://www.eclipse .org/che/docs/che-6/kubernetes-single-user.html

部署Che:

helm upgrade --install my-che-installation --namespace my-che-namespace -f ./ 

错误: 错误:此命令需要2个参数:发布名称,图表路径

Error: Error: This command needs 2 arguments: release name, chart path

推荐答案

我认为问题是-f-通常用于值文件,但它指向整个目录而不是值文件.如果将其取出并从建议的路径中运行helm upgrade --install my-che-installation --namespace my-che-namespace ./,则将得到另一个错误,因为未构建依赖项.如果然后运行helm dep build .并再试一次,它将起作用.

I think the problem is the -f - that is normally used for a values file but it is pointing to a whole dir and not a values file. If you take that out and run helm upgrade --install my-che-installation --namespace my-che-namespace ./ from the suggested path then you get a different error because the dependencies are not built. If you then run helm dep build . and try again then it works.

这篇关于在kuberneres中进行头盔安装-错误:此命令需要2个参数:发布名称,图表路径的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆