Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ALB-ingress v1.1.5 no longer works in newer versions of K8s #44

Open
dz902 opened this issue Mar 3, 2022 · 1 comment
Open

ALB-ingress v1.1.5 no longer works in newer versions of K8s #44

dz902 opened this issue Mar 3, 2022 · 1 comment

Comments

@dz902
Copy link

dz902 commented Mar 3, 2022

Could not construct reference to: '&v1.ConfigMap{TypeMeta:v1.TypeMeta{Kind:"", APIVersion:""}, ObjectMeta:v1.Objec
tMeta{Name:"ingress-controller-leader-alb", GenerateName:"", Namespace:"kube-system", SelfLink:"", UID:"965b6118-8b02-4986-9bdf-a2060d30f375", ResourceVersion
:"19638", Generation:0, CreationTimestamp:v1.Time{Time:time.Time{wall:0x0, ext:63781882113, loc:(*time.Location)(0x2c9a880)}}, DeletionTimestamp:(*v1.Time)(ni
l), DeletionGracePeriodSeconds:(*int64)(nil), Labels:map[string]string(nil), Annotations:map[string]string{"control-plane.alpha.kubernetes.io/leader":"{\"hold
erIdentity\":\"alb-ingress-controller-c449c6955-8jc7r_c4a756f2-9ab2-11ec-bcb9-9e0383a03896\",\"leaseDurationSeconds\":15,\"acquireTime\":\"2022-03-03T05:28:33
Z\",\"renewTime\":\"2022-03-03T05:28:33Z\",\"leaderTransitions\":0}"}, OwnerReferences:[]v1.OwnerReference(nil), Initializers:(*v1.Initializers)(nil), Finaliz
ers:[]string(nil), ClusterName:""}, Data:map[string]string(nil), BinaryData:map[string][]uint8(nil)}' due to: 'selfLink was empty, can't make reference'. Will
 not report event: 'Normal' 'LeaderElection' 'alb-ingress-controller-c449c6955-8jc7r_c4a756f2-9ab2-11ec-bcb9-9e0383a03896 became leader'

selfLink was removed and current yaml will not work. This needs updates.

@stevensu1977
Copy link
Contributor

you can found how to install aws-load-balancer-controller/v2.3.1 or new version, follow this [步骤4 部署、配置AWS Loadbalacner Controller &2048游戏] content (
https://github.com/aws-samples/eks-workshop-greater-china/blob/master/global/2021_GCR_MAD_Day/lab2-eks/%E6%AD%A5%E9%AA%A43-%E9%83%A8%E7%BD%B2%E9%85%8D%E7%BD%AEaws-load-balancer-controller%262048%E6%B8%B8%E6%88%8F.md)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants