Skip to content

Sidecar controller should populate service annotations independently #3021

@czeslavo

Description

@czeslavo

Context

Currently, the sidecar controller populates both node Service annotations (hostID and token ring hash) at once. That means that even if it could already populate the hostID annotation, but there's no token ring hash available yet, it doesn't populate either of those.

The goal of this issue is to make the logic responsible for populating hostID and token ring hash annotations independent so that they do not block each other.

Acceptance criteria

  • Sidecar controller populates the node Service's internal.scylla-operator.scylladb.com/host-id annotation once the host ID is available, without waiting for the token ring
  • Sidecar controller populates the internal.scylla-operator.scylladb.com/current-token-ring-hash annotation once the token ring for the local node is available

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind/cleanupCategorizes issue or PR as related to cleaning up code, process, or technical debt.priority/important-longtermImportant over the long term, but may not be staffed and/or may need multiple releases to complete.triage/acceptedIndicates an issue or PR is ready to be actively worked on.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions