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

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ