helm install in kuberneres - Error: This command needs 2 arguments: release name, chart path

穿精又带淫゛_ 提交于 2019-12-11 03:12:12

问题


Trying to install Che in Kubernertes:

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

Deploying Che:

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

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


回答1:


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.



来源:https://stackoverflow.com/questions/54190837/helm-install-in-kuberneres-error-this-command-needs-2-arguments-release-name

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!