# Nais Valkey example YAML

<!--
  This documentation was automatically generated by https://github.com/nais/pgrator/actions

  DO NOT MAKE MANUAL CHANGES TO THIS FILE, THEY WILL BE OVERWRITTEN!
-->

This is a complete example of a `Valkey` resource.

For an in-depth explanation of each field, head over to the [reference documentation](/persistence/valkey/reference/spec.md).

```yaml
version: v1
type: Valkey
name: myvalkey
spec:
  databases: 16
  maxMemoryPolicy: noeviction
  memory: 1GB
  notifyKeyspaceEvents: KEA
  persistence:
    disabled: true
  tier: HighAvailability
  version: "9.1"
```
