Hi, I'm running into an error provisioning my stac...
# aws
m
Hi, I'm running into an error provisioning my stack using
aws-load-balancer-controller 2.5.4
(similar results for 2.5.x):
Copy code
error: resource platform/kafka-mgr was not successfully created by the Kubernetes API server : Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: the server could not find the requested resource
Can anyone share a pointer on what could be wrong?
I upgraded
"@pulumi/aws": "^v5.42.0"
and the error message changed to
error: resource platform/jenkins was not successfully created by the Kubernetes API server : Internal error occurred: failed calling webhook "mservice.elbv2.k8s.aws": failed to call webhook: Post "<https://aws-load-balancer-webhook-service.kube-system.svc:443/mutate-v1-service?timeout=10s>": no endpoints available for service "aws-load-balancer-webhook-service"
Any pointer to troubleshoot this ^ would be helpful.
s
I’d say this indicates a problem with the AWS Load Balancer controller running in/on your cluster (this is the piece that creates AWS load balancers in response to the creation of a Service of type LoadBalancer). I’d start by examining that service and see what’s going on with it.
m
@salmon-account-74572 Thank you; you were right. I updated
aws-load-balancer-controller
and
amazon/aws-alb-ingress-controller
, which got me past that problem.
s
Glad you were able to resolve the issue!