cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit c15375d5b3cf14ba0c58299eff7ed441a38225f2
parent e5733b9a6f0652c2ac5c826e4ccd01ce5be60f26
Author: MTRNord <MTRNord@users.noreply.github.com>
Date:   Fri, 27 Feb 2026 22:18:47 +0100

migrate postgres to longhorn via s3 recovery

Signed-off-by: MTRNord <MTRNord@users.noreply.github.com>

Diffstat:
Minfrastructure_talos/configs/cnpg-cluster.yaml | 22+++++++++++++---------
1 file changed, 13 insertions(+), 9 deletions(-)

diff --git a/infrastructure_talos/configs/cnpg-cluster.yaml b/infrastructure_talos/configs/cnpg-cluster.yaml @@ -290,16 +290,20 @@ spec: superuser: false passwordSecret: name: persephone - affinity: - nodeAffinity: - requiredDuringSchedulingIgnoredDuringExecution: - nodeSelectorTerms: - - matchExpressions: - - key: node.kubernetes.io/instance-type - operator: In - values: [cax11, cax31] + bootstrap: + recovery: + source: pg-s3-backup + + externalClusters: + - name: pg-s3-backup + plugin: + name: barman-cloud.cloudnative-pg.io + parameters: + barmanObjectName: hetzner-base-backup + serverName: pg-cluster-v2 + storage: - storageClass: hcloud-volumes + storageClass: longhorn size: 20Gi --- apiVersion: monitoring.coreos.com/v1