Skip to content

cloud: Automatically add locality flag when using Helm to deploy CDB in K8 #23940

@tlvenn

Description

@tlvenn

There are 2 well known node labels that could be used to create dynamically the locality information to be passed to CDB on startup:

  • failure-domain.beta.kubernetes.io/region
  • failure-domain.beta.kubernetes.io/zone

We could probably set the country if the node is exposing failure-domain.beta.kubernetes.io/country or if we detect the cloud provider and then derivate the country from its region name.

@a-robinson what do you think ?

Jira issue: CRDB-5797

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-orchestrationRelating to orchestration systems like KubernetesC-enhancementSolution expected to add code/behavior + preserve backward-compat (pg compat issues are exception)O-communityOriginated from the community

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions