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-affinity-type string   Sets the type of node affinity to use. Can be either preferred (default) or required. Must be used with --node-label
      --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.
      --toleration strings          Set Pod tolerations for each PostgreSQL instance in a cluster.
                                    The general format is "key=value:Effect"
                                    For example, to add an Exists and an Equals toleration: "--toleration=ssd:NoSchedule,zone=east:NoSchedule"

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

  • pgo - The pgo command line interface.
Auto generated by spf13/cobra on 14-Jan-2021