I’m trying to install a simple helm chart and I got:
Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: the server could not find the requested resource
I’m trying to install a simple helm chart and I got:
Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: the server could not find the requested resource
2
Answers
Had the same issue suddenly on EKS v1.24 and with "aws-load-balancer-controller" v2.4.5 after working for over 1 month with that version with no issues until this week. The resources are created through Terraform and Helm. I suspect an upstream change affected underlying resources.
Updating to "aws-load-balancer-controller" v2.5.1 and making sure that the helm releases had a depends_on entry on the alb ingress controller helm release, fixed the issue for me.
Like @hefnat said, upgrading to ALB Controller v2.5.1 fixed the problem for us when we encountered it with v2.4.7:
https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/tag/v2.5.1