pgo scale

pgo scale

Scale a PostgreSQL cluster

Synopsis

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

pgo scale mycluster --replica-count=1
pgo scale [flags]

Options

      --ccp-image-tag string    The CCPImageTag to use for cluster creation. If specified, overrides the .pgo.yaml setting.
  -h, --help                    help for scale
      --no-prompt               No command line confirmation.
      --node-label string       The node label (key) to use in placing the replica database. If not set, any node is used.
      --replica-count int       The replica count to apply to the clusters. (default 1)
      --service-type string     The service type to use in the replica Service. If not set, the default in pgo.yaml will be used.
      --storage-config string   The name of a Storage config in pgo.yaml to use for the replica storage.

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 1-May-2020