Scale

Scale worker services for a tenant

sfp server scale

Scale worker services for a tenant

USAGE
  $ sfp server scale -t <value> [--json] [--passphrase <value> [--identity-file <value> --ssh-connection <value>]]
    [--critical-workers <value>] [--normal-workers <value>] [--batch-workers <value>] [-g <value>...] [--loglevel
    trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

FLAGS
  -g, --logsgroupsymbol=<value>...  Symbol used by CICD platform to group/collapse logs in the console. Provide an
                                    opening group, and an optional closing group symbol.
  -t, --tenant=<value>              (required) Name of the tenant
      --batch-workers=<value>       Number of batch queue workers (1-10)
      --critical-workers=<value>    Number of critical queue workers (1-10)
      --identity-file=<value>       Path to SSH private key file
      --loglevel=<option>           [default: info] logging level for this command invocation
                                    <options: trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL>
      --normal-workers=<value>      Number of normal queue workers (1-10)
      --passphrase=<value>          Passphrase for the SSH private key if required
      --ssh-connection=<value>      SSH connection string in the format user@host[:port]

GLOBAL FLAGS
  --json  Format output as json.

DESCRIPTION
  Scale worker services for a tenant

EXAMPLES
  $ sfp server scale --tenant my-app --critical-workers 2

  $ sfp server scale --tenant my-app --normal-workers 3

  $ sfp server scale --tenant my-app --batch-workers 2

  $ sfp server scale --tenant my-app --critical-workers 2 --normal-workers 3 --batch-workers 2

  $ sfp server scale --tenant my-app --critical-workers 2 --ssh-connection [email protected] --identity-file ~/.ssh/id_rsa

See code: src/commands/server/scale.tsarrow-up-right

Last updated

Was this helpful?