Skip to content

Two clusters in one Hetzner project pick the same default balancer names #63

Description

@lexfrei

Two clusters that run robotlb in one Hetzner project pick the same default balancer name for Services with the same name and namespace. Today the default is the Service name, so any two Services with the same name clash.

#62 changes the default to <service>.<namespace> and labels each balancer with the UID of its Service. After that, the second cluster no longer takes over the first cluster's balancer. It gets a warning event, and its Service stays without a balancer until someone sets robotlb/balancer by hand.

I'd like an operator setting for a name prefix, for example the cluster name, that goes in front of the default name. The service and namespace part can already take 127 of the 128 characters Hetzner allows. So the prefix needs either a length check at startup or truncation with a hash.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions