Community
Upgrade
When to use this procedure
You can use this procedure to upgrade HAProxy Kubernetes Ingress Controller anywhere you have installed it using Helm. This includes on-premises installations as well as installations in cloud providers.
If you installed the ingress controller using Helm, you can use the helm upgrade
command to upgrade to the latest version. Helm will initiate a rolling update, waiting for the new ingress controller pods to start up before terminating the old ingress controller pods. That way, there is no interruption in service.
To perform the upgrade:
When calling helm upgrade
, pass all arguments that you previously used when installing the ingress controller. Helm will install the latest version.
nix
helm upgrade haproxy-kubernetes-ingress haproxytech/kubernetes-ingress \--create-namespace \--namespace haproxy-controller
nix
helm upgrade haproxy-kubernetes-ingress haproxytech/kubernetes-ingress \--create-namespace \--namespace haproxy-controller
outputtext
Release "haproxy-kubernetes-ingress" has been upgraded. Happy Helming!NAME: haproxy-kubernetes-ingressLAST DEPLOYED: Fri Jan 19 21:30:16 2024NAMESPACE: haproxy-controllerSTATUS: deployedREVISION: 2TEST SUITE: NoneNOTES:HAProxy Kubernetes Ingress Controller has been successfully installed.Controller image deployed is: "haproxytech/kubernetes-ingress:1.10.10".[...]
outputtext
Release "haproxy-kubernetes-ingress" has been upgraded. Happy Helming!NAME: haproxy-kubernetes-ingressLAST DEPLOYED: Fri Jan 19 21:30:16 2024NAMESPACE: haproxy-controllerSTATUS: deployedREVISION: 2TEST SUITE: NoneNOTES:HAProxy Kubernetes Ingress Controller has been successfully installed.Controller image deployed is: "haproxytech/kubernetes-ingress:1.10.10".[...]
You can provide a specific version of the Helm chart you wish to use if you want to upgrade to a version that is not the latest version.
To see the list of available versions (and their corresonding Helm chart version) use the helm search repo
command with the --versions
flag to list all of the available versions of the Helm chart:
nix
helm search repo haproxytech/kubernetes-ingress --versions
nix
helm search repo haproxytech/kubernetes-ingress --versions
outputtext
NAME CHART VERSION APP VERSION DESCRIPTIONhaproxytech/kubernetes-ingress 1.36.1 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.36.0 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.35.5 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.35.4 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.35.3 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.35.2 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.35.1 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.35.0 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.34.1 1.10.9 A Helm chart for HAProxy Kubernetes Ingress Con...[...]
outputtext
NAME CHART VERSION APP VERSION DESCRIPTIONhaproxytech/kubernetes-ingress 1.36.1 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.36.0 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.35.5 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.35.4 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.35.3 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.35.2 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.35.1 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.35.0 1.10.10 A Helm chart for HAProxy Kubernetes Ingress Con...haproxytech/kubernetes-ingress 1.34.1 1.10.9 A Helm chart for HAProxy Kubernetes Ingress Con...[...]
To upgrade to a specific version of the HAProxy Kubernetes Ingress Controller, use the --version
parameter and provide the version of the Helm chart that corresponds to that version. For example, to install version 1.10.9
, we will specify the Helm chart version as 1.34.1
:
nix
helm upgrade haproxy-kubernetes-ingress haproxytech/kubernetes-ingress \--create-namespace \--namespace haproxy-controller \--version 1.34.1
nix
helm upgrade haproxy-kubernetes-ingress haproxytech/kubernetes-ingress \--create-namespace \--namespace haproxy-controller \--version 1.34.1
outputtext
Release "haproxy-kubernetes-ingress" has been upgraded. Happy Helming!NAME: haproxy-kubernetes-ingressLAST DEPLOYED: Fri Jan 19 21:32:28 2024NAMESPACE: haproxy-controllerSTATUS: deployedREVISION: 2TEST SUITE: NoneNOTES:HAProxy Kubernetes Ingress Controller has been successfully installed.Controller image deployed is: "haproxytech/kubernetes-ingress:1.10.9".[...]
outputtext
Release "haproxy-kubernetes-ingress" has been upgraded. Happy Helming!NAME: haproxy-kubernetes-ingressLAST DEPLOYED: Fri Jan 19 21:32:28 2024NAMESPACE: haproxy-controllerSTATUS: deployedREVISION: 2TEST SUITE: NoneNOTES:HAProxy Kubernetes Ingress Controller has been successfully installed.Controller image deployed is: "haproxytech/kubernetes-ingress:1.10.9".[...]
Do you have any suggestions on how we can improve the content of this page?