java-tutorials/kubernetes/Deployment_Vs_StatefulSet/Deployment/PersitantVoulumeClaim.yaml

12 lines
183 B
YAML

apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: counter
spec:
accessModes:
- ReadWriteMany
resources:
requests:
storage: 50Mi
storageClassName: default