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..

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南