MAQPNADocs

maqpna scale

Set the warm-pool size of a trust tier (kubectl scale)

Run agents-o json | yaml

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#

FlagTypeDescriptionDefault
--current-replicasintonly scale when the warm-pool size is this-1
--dry-runstringnone | client (nothing is sent) | server (the API server checks the change and stores nothing)none
-n, --namespacestringnamespacedefault
--replicasintthe new warm-pool size (required)-1

The global flags (--context, -o, --no-color, ...) work with every command.

Examples#

maqpna scale tt/t1 --replicas 3

What 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 json or -o yaml print the data, and --jq EXPR filters the JSON.

Exit codes#

CodeMeaning
0success
1error (the message says what failed, with a hint when there is one)
2usage error: unknown flag, missing argument or bad value; the synopsis is printed
3a check failed, a change is blocked, or a result did not match (tamper, policy mismatch) (not used by this command)