Error installing helm chart eks/aws-load-balancer-controller

1

Hello,

I have been trying to install the AWS Load Balancer Controller add-on as detailed here: https://docs.aws.amazon.com/eks/latest/userguide/aws-load-balancer-controller.html

(I have pulled the needed image from ECR and pushed it to my own repo..)

When I try a helm install dry-run I get the following error:

helm install aws-load-balancer-controller eks/aws-load-balancer-controller \
-n kube-system  \
--set clusterName=myCluster \
--set serviceAccount.create=false \
--set serviceAccount.name=aws-load-balancer-controller \
--set image.repository=myrepo/aws-load-balancer-controller \
--set image.tag=2.4.1  \
--dry-run

Error: unable to build kubernetes objects from release manifest: unable to recognize "": no matches for kind "IngressClassParams" in version "elbv2.k8s.aws/v1beta1"

Additional info:

helm search repo eks

NAME                                    	CHART VERSION	APP VERSION	DESCRIPTION                                       
...
eks/aws-load-balancer-controller        	1.4.1        	v2.4.1     	AWS Load Balancer Controller Helm chart for Kub...
...    
gefragt vor 2 Jahren7240 Aufrufe
1 Antwort
1

Are you running up to date CRDs? You can ensure this by using following command to pull in latest CRD:

kubectl apply -k "github.com/aws/eks-charts/stable/aws-load-balancer-controller/crds?ref=master"

Related GitHub Issue: https://github.com/kubernetes-sigs/aws-load-balancer-controller/issues/2551

You can also view detailed installation instructions here: https://kubernetes-sigs.github.io/aws-load-balancer-controller/v2.4/deploy/installation/#detailed-instructions

profile pictureAWS
EXPERTE
Toni_S
beantwortet vor 2 Jahren
  • Thank you Toni_S - that's exactly what the issue was..

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen