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

Auto generated by spf13/cobra on 4-Oct-2019