【问题标题】:Change NGINX Version installed in Kubernetes cluster or ensure specific version is installed更改 Kubernetes 集群中安装的 NGINX 版本或确保安装了特定版本
【发布时间】:2021-02-07 01:37:03
【问题描述】:

我正在使用这些命令将 nginx 安装到我的 AKS 集群上:

kubectl 创建命名空间 hello-world

helm3 repo 添加 ingress-nginx https://kubernetes.github.io/ingress-nginx

helm3 install nginx-ingress ingress-nginx/ingress-nginx --namespace hello-world

我想指定一个特定版本的 nginx-ingress 安装到我的命名空间 运行“kubectl exec -it nginx-ingress-ingress-nginx-controller-6d4456f967-abc2fb -n hello-world -- /nginx-ingress-controller --version”时可以看到版本

下次我该如何更新或配置它?

【问题讨论】:

    标签: azure nginx kubernetes nginx-ingress


    【解决方案1】:

    列出可用的版本使用

    helm search repo nginx -l
    

    使用安装特定版本

    helm3 install nginx-ingress ingress-nginx/ingress-nginx --namespace hello-world --version [theVersion]
    

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-01-02
      • 2023-03-03
      • 1970-01-01
      • 2020-10-04
      • 2013-04-06
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多