nais app set replicas
nais app set replicas NAME [flags]
Updates the minimum and maximum replica count for the application. Changes are temporary and will be overwritten on next deploy.
Options
--max- Maximum number of replicas.
--min- Minimum number of replicas.
Inherited options
--config- Specify the
PATHto the configuration file. -e,--environment- Specify the
ENVIRONMENTto use for this command. Overrides the default environment from configuration. --no-colors- Disable colors in the output.
-o,--output- Format output (table or json).
-t,--team- Specify the
TEAMto use for this command. Overrides the default team from configuration. -v,--verbose- Set verbosity level. Use -v for verbose, -vv for debug, -vvv for trace.
Examples
# Set replicas to min 2, max 5.
$ nais app set replicas my-app --min 2 --max 5 -e dev