nais valkey update
nais valkey update NAME [flags]
This command updates an existing Valkey instance.
Options
--max-memory-policyMAX_MEMORY_POLICYfor the Valkey instance.-m,--memoryMEMORYof the Valkey instance.--tierTIERof the Valkey instance.-y,--yes- Automatic yes to prompts; assume ‘yes’ as answer to all prompts and run non-interactively.
Inherited options
--config- Specify the location for the configuration file.
-e,--environment- Filter by environment.
--no-colors- Disable colors in the output.
-t,--team- Specify the team to 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 the |MEMORY| for a Valkey instance named some-valkey.
$ nais valkey update some-valkey --memory GB_8
# Set the |TIER| for a Valkey instance named some-valkey.
$ nais valkey update some-valkey --tier SINGLE_NODE
# Set the |MAX_MEMORY_POLICY| for a Valkey instance named some-valkey.
$ nais valkey update some-valkey --max-memory-policy NO_EVICTION
# Set all available options for a Valkey instance named some-valkey.
$ nais valkey update some-valkey --memory GB_8 --tier SINGLE_NODE --max-memory-policy NO_EVICTION