pgo_delete
pgo delete
Delete a backup, benchmark, cluster, pgbouncer, pgpool, label, policy, or user
Synopsis
The delete command allows you to delete a backup, benchmark, cluster, label, pgbouncer, pgpool, policy, or user. For example:
pgo delete backup mycluster
pgo delete benchmark mycluster
pgo delete cluster mycluster
pgo delete cluster mycluster --delete-data
pgo delete cluster mycluster --delete-data --delete-backups
pgo delete label mycluster --label=env=research
pgo delete pgbouncer mycluster
pgo delete pgpool mycluster
pgo delete policy mypolicy
pgo delete schedule --schedule-name=mycluster-pgbackrest-full
pgo delete schedule --selector=name=mycluster
pgo delete schedule mycluster
pgo delete user testuser --selector=name=mycluster
pgo delete [flags]
Options
-h, --help help for delete
Options inherited from parent commands
--apiserver-url string The URL for the PostgreSQL Operator apiserver.
--debug Enable debugging when true.
-n, --namespace string The namespace to use for pgo requests.
--pgo-ca-cert string The CA Certificate file path for authenticating to the PostgreSQL Operator apiserver.
--pgo-client-cert string The Client Certificate file path for authenticating to the PostgreSQL Operator apiserver.
--pgo-client-key string The Client Key file path for authenticating to the PostgreSQL Operator apiserver.
SEE ALSO
- pgo - The pgo command line interface.
- pgo delete backup - Delete a backup
- pgo delete benchmark - Delete benchmarks for a cluster
- pgo delete cluster - Delete a PostgreSQL cluster
- pgo delete label - Delete a label from clusters
- pgo delete pgbouncer - Delete a pgbouncer from a cluster
- pgo delete pgpool - Delete a pgpool from a cluster
- pgo delete policy - Delete a SQL policy
- pgo delete schedule - Delete a schedule
- pgo delete user - Delete a user