nais valkey create

nais valkey create NAME [flags]

This command creates a Valkey instance.

Options

--max-memory-policy
MAX_MEMORY_POLICY for the Valkey instance. Defaults to NO_EVICTION.
-m, --memory
MEMORY of the Valkey instance. Defaults to GB_1.
--tier
TIER of the Valkey instance. Defaults to HIGH_AVAILABILITY.
-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

# Create a Valkey instance named some-valkey with default settings.
$ nais valkey create some-valkey

# Create a Valkey instance named some-valkey with the specified |MEMORY|.
$ nais valkey create some-valkey --memory GB_4

# Create a Valkey instance named some-valkey with the specified |TIER|.
$ nais valkey create some-valkey --tier SINGLE_NODE

# Create a Valkey instance named some-valkey with the specified |MAX_MEMORY_POLICY|.
$ nais valkey create some-valkey --max-memory-policy ALLKEYS_LRU

# Create a Valkey instance named some-valkey with all possible options specified.
$ nais valkey create some-valkey --memory GB_4 --tier SINGLE_NODE --max-memory-policy ALLKEYS_LRU

This site uses Just the Docs, a documentation theme for Jekyll.