Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: truncate long labels in nodebalancers
Nodebalancer backends can have a max label length of 32 chars. If a k8s node's name is longer than 32 chars, creating a nodebalancer fails. Example error: E0307 22:31:47.275176 1 controller.go:307] error processing service traefik/traefik (will retry): failed to ensure load balancer: [400] [configs[0].nodes[0].label] Length must be 3-32 characters; [configs[0].nodes[1].label] Length must be 3-32 characters; [configs[0].nodes[2].label] Length must be 3-32 characters;
- Loading branch information