PVC in POD
Create a Persistent Volume Claim
kind: PersistentVolume
apiVersion: v1
metadata:
name: pv-vol1
spec:
accessModes: [ "ReadWriteOnce" ]
capacity:
storage: 1Gi
hostPath:
path: /tmp/datakubectl create -f pv-definition.yamlCreate a Persistent Volume Claim
Create a Pod using PVC
List PV, PVC, and POD
Last updated