pgo scaledown

pgo scaledown

Scale down a PostgreSQL cluster

Synopsis

The scale command allows you to scale down a Cluster’s replica configuration. For example:

To list targetable replicas:
pgo scaledown mycluster --query

To scale down a specific replica:
pgo scaledown mycluster --target=mycluster-replica-xxxx
pgo scaledown [flags]

Options

  -h, --help            help for scaledown
      --keep-data       Causes data for the scale down replica to *not* be deleted
      --no-prompt       No command line confirmation.
      --query           Prints the list of targetable replica candidates.
      --target string   The replica to target for scaling down

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

  • pgo - The pgo command line interface.
Auto generated by spf13/cobra on 31-Dec-2019