Skip to content

Broaden Service Selector #394

@eberlep

Description

@eberlep

Since the spilo-role=standby_leader label is not consistently applied to standby instances, the selector in our Service does not always work.

As the Service ressource does not support set-based selectors (yet?), we cannot use the spilo-role in (master, standby_leader) selector that we already use in other places.

Since we cannot change the selector to make sure it only matches one pod, we broaden the selector (by removing the spilo-role part) and make sure the numberOfInstances is 1 for standby instances. This, however, should already be covered in the backend.

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