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
apiVersion: nais.io/v1
kind: Postgres
metadata:
labels:
team: myteam
name: mypostgres
namespace: myteam
spec:
extensions:
- name: postgis
highAvailability: true
majorVersion: "18"
resources:
cpu: 100m
diskSize: 10Gi
memory: 512Mi