Skip to content

Instantly share code, notes, and snippets.

@alevz257
Created February 22, 2023 04:01
Show Gist options
  • Save alevz257/0a8b1efa4c38637d8e037a229fe4c5c2 to your computer and use it in GitHub Desktop.
Save alevz257/0a8b1efa4c38637d8e037a229fe4c5c2 to your computer and use it in GitHub Desktop.
Account DB test Regional PD
#default deployment of account-db
...
volumeMounts:
- name: postgresdb
mountPath: /var/lib/postgresql/data
subPath: postgres
volumes:
- name: postgresdb
persistentVolumeClaim:
claimName: pvc-accounts-db-demo
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: pvc-accounts-db-demo
spec:
accessModes:
- ReadWriteOnce
resources:
requests:
storage: 10Gi
storageClassName: regpd-ab-class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment