maqpna scale
Set the warm-pool size of a trust tier (kubectl scale)
Synopsis#
maqpna scale tt/NAME | trusttier NAME --replicas N [--current-replicas N] [--dry-run none|client|server]Description#
The warm pool (spec.warmPoolSize) is the only replica count of the MAQPNA kinds. Agents start sessions on demand; spec.maxConcurrentSessions caps them.
Flags#
| Flag | Type | Description | Default |
|---|---|---|---|
--current-replicas | int | only scale when the warm-pool size is this | -1 |
--dry-run | string | none | client (nothing is sent) | server (the API server checks the change and stores nothing) | none |
-n, --namespace | string | namespace | default |
--replicas | int | the new warm-pool size (required) | -1 |
The global flags (--context, -o, --no-color, ...) work with every command.
Examples#
maqpna scale tt/t1 --replicas 3What happens when you run it#
--dry-run: none | client (nothing is sent) | server (the API server checks the change and stores nothing).- Prints a table by default;
-o jsonor-o yamlprint the data, and--jq EXPRfilters the JSON.
Exit codes#
| Code | Meaning |
|---|---|
0 | success |
1 | error (the message says what failed, with a hint when there is one) |
2 | usage error: unknown flag, missing argument or bad value; the synopsis is printed |
3 | a check failed, a change is blocked, or a result did not match (tamper, policy mismatch) (not used by this command) |