发生内部错误:调用Webhook“mservice.elbv2.k8s.aws”失败。

huangapple go评论120阅读模式
英文:

Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws"

问题

我试图安装一个简单的Helm图表,但是出现了以下错误:

内部错误发生:调用webhook“mservice.elbv2.k8s.aws”失败:无法调用webhook:服务器找不到请求的资源

英文:

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

答案1

得分: 6

在EKS v1.24和"aws-load-balancer-controller" v2.4.5上突然遇到了同样的问题,在那个版本上工作了一个多月,直到本周才出现问题。这些资源是通过Terraform和Helm创建的。我怀疑上游的变更影响了底层资源。

"aws-load-balancer-controller" v2.5.1进行更新,并确保helm发布中的alb ingress控制器helm发布有一个depends_on条目,问题得到了解决。

英文:

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.

答案2

得分: 2

升级到 ALB 控制器 v2.5.1 修复了我们在使用 v2.4.7 时遇到的问题:
https://github.com/kubernetes-sigs/aws-load-balancer-controller/releases/tag/v2.5.1

英文:

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

答案3

得分: 1

你可以使用v2.5.1将enableServiceMutatorWebhook设置为false,以使你的负载均衡器类型服务再次正常工作。你可以从这里 https://github.com/aws/eks-charts/tree/master/stable/aws-load-balancer-controller 查找更多详情。

英文:

You can also set enableServiceMutatorWebhook to false by using v2.5.1 to make your LoadBalancer type services work again.
You can search for more details from here https://github.com/aws/eks-charts/tree/master/stable/aws-load-balancer-controller

huangapple
  • 本文由 发表于 2023年4月17日 20:15:27
  • 转载请务必保留本文链接:https://go.coder-hub.com/76035067.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定