Upgrade
Upgrade on AWS
When to use this procedure
Do not use this procedure if you have an HAProxy Enterprise license key. Instead, see Upgrade on premises.
If you previously installed HAProxy Enterprise Kubernetes Ingress Controller from the AWS Marketplace, follow these steps to upgrade to the current version of the ingress controller:
-
From the AWS Marketplace home page, click Manage subscriptions.
-
Find HAProxy Enterprise Ingress Controller in your list of subscriptions, then click Launch more software.
-
On the Configure this software screen, choose the fulfillment option and then software version, which determines the version of the Helm chart you will launch. Newer versions of the Helm chart support newer versions of HAProxy Enterprise Kubernetes Ingress Controller. Typically, you will choose the most recent version.
-
Click Continue to Launch.
-
On your local workstation, connect to your Kubernetes cluster using the AWS CLI. This will create a
~/.kube/config
file:nixaws eks --region [Your region] update-kubeconfig --name [Your cluster name]nixaws eks --region [Your region] update-kubeconfig --name [Your cluster name] -
Check that you can access the cluster by calling
kubectl get pods
:nixkubectl get podsnixkubectl get podsA list of created resources should display.
-
To pull the ingress controller’s container image from Amazon Elastic Container Registry, first log into the container registry:
nixaws ecr get-login-password --region us-east-1 | \helm registry login \--username AWS \--password-stdin 709825985650.dkr.ecr.us-east-1.amazonaws.comnixaws ecr get-login-password --region us-east-1 | \helm registry login \--username AWS \--password-stdin 709825985650.dkr.ecr.us-east-1.amazonaws.comoutputtextLogin SucceededoutputtextLogin Succeeded -
Pull the image. Set the
version
to the fulfillment option from the Configure this software screen in the AWS Marketplace. For example, 1.29.2.nixhelm pull oci://709825985650.dkr.ecr.us-east-1.amazonaws.com/haproxy-technologies/haproxy-ingress-controller-helm-chart2 \--version <VERSION>nixhelm pull oci://709825985650.dkr.ecr.us-east-1.amazonaws.com/haproxy-technologies/haproxy-ingress-controller-helm-chart2 \--version <VERSION> -
When calling
helm upgrade
, pass all arguments that you previously used when installing the ingress controller:nixhelm upgrade haproxy-kubernetes-ingress \--namespace haproxy-controller \--set controller.service.type=LoadBalancer \--set "aws.licenseConfigSecretName=license-token-secret" \./haproxy-ingress-controller-helm-chart2-*.tgznixhelm upgrade haproxy-kubernetes-ingress \--namespace haproxy-controller \--set controller.service.type=LoadBalancer \--set "aws.licenseConfigSecretName=license-token-secret" \./haproxy-ingress-controller-helm-chart2-*.tgz
Do you have any suggestions on how we can improve the content of this page?