pgo_delete
pgo delete
Delete an Operator resource
Synopsis
The delete command allows you to delete an Operator resource. 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 pgouser someuser
pgo delete pgorole somerole
pgo delete policy mypolicy
pgo delete namespace mynamespace
pgo delete schedule --schedule-name=mycluster-pgbackrest-full
pgo delete schedule --selector=name=mycluster
pgo delete schedule mycluster
pgo delete user --username=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 namespace - Delete namespaces
- pgo delete pgbouncer - Delete a pgbouncer from a cluster
- pgo delete pgorole - Delete a pgorole
- pgo delete pgouser - Delete a pgouser
- 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