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:
databases: 16maxMemoryPolicy ΒΆ
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:
maxMemoryPolicy: noevictionmemory ΒΆ
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:
memory: 1GBnotifyKeyspaceEvents ΒΆ
Configure keyspace notifications for the Valkey instance. See https://valkey.io/topics/notifications/ for details.
Type: string
Required: false
Pattern: ^[KEg$lshztdxemnA]*$
Example
spec:
notifyKeyspaceEvents: KEAtier ΒΆ
Tier defines the tier of the Valkey instance
Type: enum
Required: true
Allowed values: HighAvailability, SingleNode
Example
spec:
tier: HighAvailability