Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kind: PersistentVolume
- apiVersion: v1
- metadata:
- name: postgres-pv-volume
- namespace: tomsther
- labels:
- type: local
- app: postgres-label
- spec:
- storageClassName: manual
- capacity:
- storage: 5Gi
- accessModes:
- - ReadWriteMany
- hostPath:
- path: "/mnt/psqldata"
- ---
- kind: PersistentVolumeClaim
- apiVersion: v1
- metadata:
- name: postgres-pv-claim
- labels:
- app: postgres-label
- spec:
- storageClassName: manual
- accessModes:
- - ReadWriteMany
- resources:
- requests:
- storage: 5Gi
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement