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

[BUG] - load balancer creation fails if a HTTP health-check-port is defined in the annotations #225

Open
kgeipel-retail7 opened this issue Dec 21, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@kgeipel-retail7
Copy link

I created a LB using a k8s service definition, however, if i set the annotation "service.beta.kubernetes.io/vultr-loadbalancer-healthcheck-port" CCM complains about missing port in the service, even if it is set.

"Event occurred" object="ingress-nginx/ingress-nginx-lb-service" fieldPath="" kind="Service" apiVersion="v1" type="Warning" reason="SyncLoadBalancerFailed" message="Error syncing load balancer: failed to ensure load balancer: provided health check port 10254 does not exist for service ingress-nginx/ingress-nginx-lb-service"

But like you can see in this service definition, that port is configured

As workaround i now use TCP and the k8s standard port (which is in fact simply the Node port which is mapped to nginx port 80) but this is not a reliable configuration

@kgeipel-retail7 kgeipel-retail7 added the bug Something isn't working label Dec 21, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant