Deploy CloudNativePG #2

Open
opened 2025-05-06 07:16:34 +02:00 by marco · 2 comments
Owner

Deploy the CloudNative Postgres operator with local volumes.

https://cloudnative-pg.io

Deploy the CloudNative Postgres operator with local volumes. https://cloudnative-pg.io
Author
Owner

https://www.reddit.com/r/kubernetes/comments/yxon3j/cloudnative_postgresql_looks_good/

Gabriele Bartolini (one of the main developers of cnPG):

Having said this, being a database person, my advice is to always use local storage and rely on shared nothing architecture

https://www.reddit.com/r/kubernetes/comments/yxon3j/cloudnative_postgresql_looks_good/ Gabriele Bartolini (one of the main developers of cnPG): > Having said this, being a database person, my advice is to always use local storage and rely on shared nothing architecture
Author
Owner

Local storage volumes can be configured with:

apiVersion: v1alpha1
kind: UserVolumeConfig
name: local-data
provisioning:
  diskSelector:
    match: system_disk
  minSize: 20GB

This only works on Talos v1.10 onwards, see https://www.talos.dev/v1.10/talos-guides/configuration/disk-management/#user-volumes

Local storage volumes can be configured with: ```yaml apiVersion: v1alpha1 kind: UserVolumeConfig name: local-data provisioning: diskSelector: match: system_disk minSize: 20GB ``` This only works on Talos v1.10 onwards, see https://www.talos.dev/v1.10/talos-guides/configuration/disk-management/#user-volumes
Sign in to join this conversation.
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: marco/veda#2
No description provided.