Nais Postgres example YAML ΒΆ
Experimental feature
This feature is an alpha feature, and is subject to API change, instability or removal. See the main Postgres page for more information.
This is a complete example of a Postgres resource, commonly known as the postgres.yaml file.
For an in-depth explanation of each field, head over to the reference documentation.
yaml
version: v1
type: Postgres
name: mypostgres
spec:
activeInstance: mypostgres-primary
extensions:
- name: postgis
highAvailability: true
majorVersion: "18"
resources:
cpu: 100m
diskSize: 10Gi
memory: 512Mi