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...
...    
질문됨 2년 전7241회 조회
1개 답변
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
전문가
Toni_S
답변함 2년 전
  • Thank you Toni_S - that's exactly what the issue was..

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠