pgo delete cluster

pgo delete cluster

Delete a PostgreSQL cluster

Synopsis

Delete a PostgreSQL cluster. For example:

pgo delete cluster --all
pgo delete cluster mycluster
pgo delete cluster [flags]

Options

      --all               Delete all clusters. Backups and data subject to --delete-backups and --delete-data flags, respectively.
  -h, --help              help for cluster
      --keep-backups      Keeps the backups available for use at a later time (e.g. recreating the cluster).
      --keep-data         Keeps the data for the specified cluster. Can be reassigned to exact same cluster in the future.
      --no-prompt         No command line confirmation before delete.
  -s, --selector string   The selector to use for cluster filtering.

Options inherited from parent commands

      --apiserver-url string     The URL for the PostgreSQL Operator apiserver that will process the request from the pgo client. Note that the URL should **not** end in a '/'.
      --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 14-Jan-2021