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 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 that will process the request from the pgo client.
      --debug                    Enable additional output for debugging.
      --disable-tls              Disable TLS authentication to the Postgres Operator.
      --exclude-os-trust         Exclude CA certs from OS default trust store
  -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

Auto generated by spf13/cobra on 31-Dec-2019