k3s-cluster/kubernetes/thin/apps/database/postgresql/cluster/scheduledbackup.yaml
SeanOMik ab68bd87e8 fix: switch to cloudnative-pg and change home assistant to use it
feat(thin): switch to cloudnative-pg

chore(nginx-external): switch to default 443 port

fix(thin,cloudpg): use correct storage class

fix(thin,cloudpg): remove cpu limits

fix(thin,cloudpg): set cpu limits to 20m

chore(thin,cloudpg): setup backups

Revert "chore(thin,cloudpg): setup backups"

This reverts commit 15ef935a88.

chore(thin,cloudpg): setup backups

chore(thin,cloudpg): use PodDisruptionBudgets instead of nodeMaintenanceWindow

chore(thin,cloudpg): scale down to 1 replica, disable PDB

fix(thin,hass): use new kustomization name for cloudinitpg

fix(thin,hass): use new postgres service name

fix(thin,hass): use CORRECT postgres service name

fix(thin,hass): convert elevation to integer
2025-02-20 19:29:42 -05:00

13 lines
No EOL
326 B
YAML

---
# yaml-language-server: $schema=https://kubernetes-schemas.pages.dev/postgresql.cnpg.io/scheduledbackup_v1.json
apiVersion: postgresql.cnpg.io/v1
kind: ScheduledBackup
metadata:
name: postgres
namespace: database
spec:
schedule: "@daily"
immediate: true
backupOwnerReference: self
cluster:
name: postgres16