Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(cloudnative-pg): test restore to openebs-hostpath PVs #567

Merged
merged 1 commit into from
Apr 3, 2024

Conversation

martinohmann
Copy link
Owner

No description provided.

@github-actions github-actions bot added the area/kubernetes Changes made in the kubernetes directory label Apr 3, 2024
Copy link

github-actions bot commented Apr 3, 2024

--- kubernetes/apps/database/cloudnative-pg/cluster Kustomization: flux-system/cloudnative-pg-cluster Cluster: database/postgres16-v2

+++ kubernetes/apps/database/cloudnative-pg/cluster Kustomization: flux-system/cloudnative-pg-cluster Cluster: database/postgres16-v2

@@ -0,0 +1,78 @@

+---
+apiVersion: postgresql.cnpg.io/v1
+kind: Cluster
+metadata:
+  labels:
+    app.kubernetes.io/name: cloudnative-pg-cluster
+    kustomize.toolkit.fluxcd.io/name: cloudnative-pg-cluster
+    kustomize.toolkit.fluxcd.io/namespace: flux-system
+  name: postgres16-v2
+  namespace: database
+spec:
+  backup:
+    barmanObjectStore:
+      data:
+        compression: bzip2
+      destinationPath: s3://cloudnative-pg/
+      endpointURL: https://s3.18b.haus
+      s3Credentials:
+        accessKeyId:
+          key: aws-access-key-id
+          name: cloudnative-pg
+        secretAccessKey:
+          key: aws-secret-access-key
+          name: cloudnative-pg
+      serverName: postgres16-v2
+      wal:
+        compression: bzip2
+        maxParallel: 8
+    retentionPolicy: 30d
+  bootstrap:
+    recovery:
+      source: postgres16
+  enableSuperuserAccess: true
+  externalClusters:
+  - barmanObjectStore:
+      data:
+        compression: bzip2
+      destinationPath: s3://cloudnative-pg/
+      endpointURL: https://s3.18b.haus
+      s3Credentials:
+        accessKeyId:
+          key: aws-access-key-id
+          name: cloudnative-pg
+        secretAccessKey:
+          key: aws-secret-access-key
+          name: cloudnative-pg
+      serverName: postgres16
+      wal:
+        compression: bzip2
+        maxParallel: 8
+    name: postgres16
+  imageName: ghcr.io/cloudnative-pg/postgresql:16.1-8
+  instances: 3
+  monitoring:
+    enablePodMonitor: true
+    podMonitorMetricRelabelings:
+    - action: replace
+      sourceLabels:
+      - cluster
+      targetLabel: cnpg_cluster
+    - action: labeldrop
+      regex: cluster
+  nodeMaintenanceWindow:
+    inProgress: false
+    reusePVC: true
+  primaryUpdateStrategy: unsupervised
+  resources:
+    limits:
+      memory: 2Gi
+    requests:
+      cpu: 200m
+      memory: 800Mi
+  storage:
+    size: 10Gi
+    storageClass: openebs-hostpath
+  superuserSecret:
+    name: cloudnative-pg
+

@martinohmann martinohmann merged commit d5b5006 into main Apr 3, 2024
4 checks passed
@martinohmann martinohmann deleted the cloudnative-pg/cluster16-v2 branch April 3, 2024 18:58
martinohmann added a commit that referenced this pull request Apr 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/kubernetes Changes made in the kubernetes directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant