first commit

This commit is contained in:
Your Name
2026-01-18 18:00:41 +01:00
parent 973dddce86
commit 5ca040819f
14 changed files with 9693 additions and 0 deletions

22
01-cnpg-cluster.yaml Normal file
View File

@@ -0,0 +1,22 @@
apiVersion: postgresql.cnpg.io/v1
kind: Cluster
metadata:
name: wordpress-db
namespace: wordpress
spec:
instances: 2
storage:
size: 20Gi
storageClass: longhorn-fast
resources:
requests:
memory: "512Mi"
cpu: "250m"
limits:
memory: "1Gi"
cpu: "750m"
bootstrap:
initdb:
database: postgres
affinity:
enablePodAntiAffinity: false