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

Unable to ensure load balancer due to service name #41

Open
chebykinn opened this issue Dec 16, 2021 · 0 comments
Open

Unable to ensure load balancer due to service name #41

chebykinn opened this issue Dec 16, 2021 · 0 comments

Comments

@chebykinn
Copy link

chebykinn commented Dec 16, 2021

Hi, I'm trying to use ccm to setup load balancer, but service is failing to ensure load balancer with an error:

E1216 22:05:37.836237 1 controller.go:307] error processing service traefik/traefik (will retry): failed to ensure load balancer: rpc error: code = InvalidArgument desc = Validation failed:
- name: Field does not match the pattern /|[a-z][-a-z0-9]{1,61}[a-z0-9]/
I1216 22:05:37.836298 1 event.go:291] "Event occurred" object="traefik/traefik" kind="Service" apiVersion="v1" type="Warning" reason="SyncLoadBalancerFailed" message="Error syncing load balancer: failed to ensure load balancer: rpc error: code = InvalidArgument desc = Validation failed:\n - name: Field does not match the pattern /|[a-z][-a-z0-9]{1,61}[a-z0-9]/"

It looks like kubernetes concatenates namespace and service and Yandex Cloud API doesn't allow such names.

cluster version: v1.21.6

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

1 participant