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...
...    
preguntada hace 2 años7241 visualizaciones
1 Respuesta
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
EXPERTO
Toni_S
respondido hace 2 años
  • Thank you Toni_S - that's exactly what the issue was..

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas