Skip to content

Restart postgrescluster and pgbouncer #121

@Eric-zch

Description

@Eric-zch

Hi There,

I can restart pods in a postgrescluster with command:
kubectl patch postgrescluster/pcluster1 --type merge --patch '{"spec":{"proxy":{"pgBouncer":{"metadata":{"annotations":{"restarted":"'"$(date)"'"}}}}}}'

I can restart pgbouncer pods in a postgrescluster command.
kubectl patch postgrescluster/pcluster1 --type merge --patch '{"spec":{"metadata":{"annotations":{"restarted":"'"$(date)"'"}}}}'

could you make pgo support the restart feature?

For example:
restart pods with: kubectl pgo restart pcluster1
restart pgbouncer pods with: kubectl pgo restart pgbouncer pcluster1

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions