Nais Valkey reference ΒΆ

This document describes all possible configuration values in the Valkey spec.

databases ΒΆ

Databases defines the number of logical databases for the Valkey instance. The default is 16.

Type: integer
Required: false
Value range: 1-128

Example

yaml

maxMemoryPolicy ΒΆ

MaxMemoryPolicy defines the maximum memory policy for the Valkey instance

Type: enum
Required: false
Allowed values: allkeys-lfu, allkeys-lru, allkeys-random, noeviction, volatile-lfu, volatile-lru, volatile-random, volatile-ttl

Example

yaml

memory ΒΆ

Memory defines the available memory for the Valkey instance

Type: enum
Required: true
Allowed values: 112GB, 14GB, 1GB, 200GB, 28GB, 4GB, 56GB, 8GB

Example

yaml

notifyKeyspaceEvents ΒΆ

Configure keyspace notifications for the Valkey instance. See https://valkey.io/topics/notifications/ for details.

Type: string
Required: false
Pattern: ^[KEg$lshztdxemnA]*$

Example

yaml

persistence ΒΆ

Persistence controls persistence and backup settings.

Type: object
Required: false

Example

yaml

persistence.disabled ΒΆ

Disabled indicates whether persistence (i.e. RDB dumps and backups) should be disabled for the Valkey instance. If true, the Valkey instance will not perform RDB dumps and backups. All data will be lost if the instance is restarted for any reason. Defaults to false.

Type: boolean
Required: false

Example

yaml

tier ΒΆ

Tier defines the tier of the Valkey instance

Type: enum
Required: true
Allowed values: HighAvailability, SingleNode

Example

yaml

version ΒΆ

Version defines the Valkey version. Required when creating an instance. Instances predating this field adopt whichever version Aiven reports as running, and it cannot be unset again afterwards. Aiven upgrading an instance on its own is adopted here rather than reverted.

Type: enum
Required: false
Allowed values: 8.1, 9.0, 9.1

Example

yaml