You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Validate that the service is created and working as expected
Validate pods
Reproduction Issue:
~$ k apply -f ldservicelongnameyetvalid.yaml
$ journalctl -xeu k3s.service -f | grep "Error syncing load balancer"
Aug 09 12:35:20 ip k3s[1803]: I0809 12:35:20.548326 1803 event.go:389] "Event occurred" object="default/a-service-with-a-very-veeeeeery-long-yet-valid-name" fieldPath="" kind="Service" apiVersion="v1" type="Warning" reason="SyncLoadBalancerFailed" message="Error syncing load balancer: failed to ensure load balancer: failed to create kube-system/svclb-a-service-with-a-very-veeeeeery-long-yet-valid-name-1c1eaccc apps/v1, Kind=DaemonSet for default/a-service-with-a-very-veeeeeery-long-yet-valid-name: DaemonSet.apps \"svclb-a-service-with-a-very-veeeeeery-long-yet-valid-name-1c1eaccc\" is invalid: [spec.selector.matchLabels: Invalid value: \"svclb-a-service-with-a-very-veeeeeery-long-yet-valid-name-1c1eaccc\": must be no more than 63 characters, spec.template.labels: Invalid value: \"svclb-a-service-with-a-very-veeeeeery-long-yet-valid-name-1c1eaccc\": must be no more than 63 characters]"
Validation Results:
~$ k apply -f ldservicelongnameyetvalid.yaml
$ k get pods -A
kube-system svclb-a-service-with-a-very-veeeeeery-long-yet-valid-n-1b8rd5s9 0/1 Pending 0 78s
Backport fix for SyncLoadBalancerFailed when using a very long (yet valid) service name
The text was updated successfully, but these errors were encountered: