每当我输入的时候,我和我的同事都有一个问题
helm install mystuff-nginx ingress-nginx/ingress-nginx --version 3.26.0 我已经成功地在3.26.0版本中部署了mystuff-nginx-1,但是当他用不同的名字在他的笔记本上运行相同的命令时,他将其安装在最新版本的4.0.1中,你知道发生了什么吗?我们有同样版本的helm,gcloud和kubectl,甚至重新下载了二进制文件。
我们知道这个版本是可用的
MacBook-Pro-2% helm search repo -l ingress-nginx/ingress-nginx
ingress-nginx/ingress-nginx 4.0.2 1.0.1 Ingress controller for Kubernetes using NGINX a...
ingress-nginx/ingress-nginx 4.0.1 1.0.0 Ingress controller for Kubernetes using NGINX a...
ingress-nginx/ingress-nginx 3.37.0 0.49.1 Ingress controller for Kubernetes using NGINX a...
ingress-nginx/ingress-nginx 3.36.0 0.49.0 Ingress controller for Kubernetes using NGINX a...
ingress-nginx/ingress-nginx 3.35.0 0.48.1 Ingress controller for Kubernetes using NGINX a...
...
ingress-nginx/ingress-nginx 3.26.0 0.44.0 Ingress controller for Kubernetes using NGINX a...发布于 2021-09-24 12:51:27
根据Helm的文档:
helm install [NAME] [CHART] [flags]版本标志:
--version string specify a version constraint for the chart version to use. This constraint can be a specific tag (e.g. 1.1.1) or it may reference a valid range (e.g. ^2.0.0). If this is not specified, the latest version is used因此,您可以尝试:
$ helm install nginx-ingress ingress-nginx/ingress-nginx --version "3.26.0"舵手列表:
NAME NAMESPACE REVISION UPDATED STATUS CHART APP VERSION
nginx-ingress default 1 2021-09-24 09:44:54.261772858 -0300 -03 deployed ingress-nginx-3.26.0 0.44.0 我使用helm版本v3.5.4和一个k3d集群进行测试。
https://stackoverflow.com/questions/69297335
复制相似问题