Scale

Scale the Hatchet worker pools for a tenant

sfp server scale

Scale the Hatchet worker pools for a tenant

USAGE
  $ sfp server scale -t <value> [--json] [--base-dir <value>] [--passphrase <value> [--identity-file <value>
    --ssh-connection <value>]] [-w <value>] [--longrunning-workers <value>] [-f] [--drain-timeout <value>] [-g
    <value>...] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]

FLAGS
  -f, --force                        Skip waiting for active workflows to drain and scale down immediately, interrupting
                                     in-flight work
  -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
  -w, --workers=<value>              Number of general workers (1-10). Also sizes the long-running pool proportionally
                                     unless --longrunning-workers is given
      --base-dir=<value>             [default: ./sfp-server] Base Directory which contains the sfp-server
      --drain-timeout=<value>        [default: 3600] Maximum seconds to wait for active workflows to complete before
                                     scaling down
      --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>
      --longrunning-workers=<value>  Number of long-running workers (1-10) — the pool that runs pool provisioning, AI
                                     reports, rollback/cherry analysis, and org-drift checks
      --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 the Hatchet worker pools for a tenant

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

  $ sfp server scale --tenant my-app --workers 4 --longrunning-workers 3

  $ sfp server scale --tenant my-app --workers 4 --base-dir /opt/sfp-server

  $ sfp server scale --tenant my-app --workers 4 --ssh-connection user@example.com --identity-file ~/.ssh/id_rsa

On this page