postgres on cephfs

This commit is contained in:
Nico Schottelius 2021-06-08 21:56:49 +02:00
commit cba364d1fc
3 changed files with 28 additions and 1 deletions

View file

@ -19,6 +19,7 @@ spec:
resources:
requests:
storage: 5Gi
storageClassName: rook-cephfs
---
apiVersion: apps/v1
kind: Deployment
@ -43,7 +44,7 @@ spec:
- configMapRef:
name: postgres-config
volumeMounts:
- mountPath: /var/lib/postgresql
- mountPath: /var/lib/postgresql/
name: postgresdb
volumes:
- name: postgresdb