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
spec: nullmaxMemoryPolicy ΒΆ
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
spec: nullmemory ΒΆ
Memory defines the available memory for the Valkey instance
Type: enum
Required: true
Allowed values: 112GB, 14GB, 1GB, 200GB, 28GB, 4GB, 56GB, 8GB
Example
spec: nullnotifyKeyspaceEvents ΒΆ
Configure keyspace notifications for the Valkey instance. See https://valkey.io/topics/notifications/ for details.
Type: string
Required: false
Pattern: ^[KEg$lshztdxemnA]*$
Example
spec: nullpersistence ΒΆ
Persistence controls persistence and backup settings.
Type: object
Required: false
Example
spec: nullpersistence.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
spec: nulltier ΒΆ
Tier defines the tier of the Valkey instance
Type: enum
Required: true
Allowed values: HighAvailability, SingleNode
Example
spec: null