# Scale

Scale worker services for a tenant

* [`sfp server scale`](#sfp-server-scale)

## `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 user@example.com --identity-file ~/.ssh/id_rsa
```

*See code:* [*src/commands/server/scale.ts*](https://source.flxbl.io/flxbl/sfp-pro)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.flxbl.io/flxbl/sfp/sfp-community/cli-reference-v50-and-below/server/scale.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
