Skip to content

Make operator report no longer need resources #390

Open
@sdudoladov

Description

@sdudoladov

We have sometimes a situation when a pod/statefulset/service/etc survives a PG cluster to which it belongs. This situation may (a) indicate a bug, (b) interfere with operator from functioning correctly (for example the operator does not move pods of unknown clusters from unschedulable nodes), and (c) occupy resources.

To ease monitoring and debugging such cases, we may create a REST endpoint(s) that will return a list of resources that match operator label selection yet does not belong to any of the Postgres clusters known by the operator. It should also be straightforward to piggyback fetching relevant info on the Sync operation.

Please provide feedback and suggestions.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions