我正在尝试使用头盔版本3在Google Cloud Terminal上安装Nginx Ingress,如下所示:
curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 > get_helm.sh
chmod 700 get_helm.sh
./get_helm.sh
和
helm repo add stable https://kubernetes-charts.storage.googleapis.com/
helm install my-nginx stable/nginx-ingress --set rbac.create=true
我不断收到错误消息:Error: This command needs 1 argument: chart name
您能帮我吗?
来自helmv3文档:https://helm.sh/docs/intro/install/
$ curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3
$ chmod 700 get_helm.sh
$ ./get_helm.sh
上述步骤之后,您还可以运行helm version
。
该命令很好。您确定它是helmv3而不是helmv2。它不应该发出该错误,因为您已经在提供图表的名称。