spring-web-modules/k8s/02-volume.yaml

12 lines
255 B
YAML
Raw Normal View History

2022-04-11 10:15:20 +07:00
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
namespace: spring-web-dev
name: spring-web-dev-volume
spec:
accessModes:
- ReadWriteOnce
storageClassName: nfs-client # nfs-client OR local-path
resources:
requests:
storage: 5Gi