Kubernetes Volume | Persistent Volume, Persistent Volume Claim
Step 1: Create the PersistentVolume (PV)
We need a PV named pv-demo, with ReadWriteMany, 512Mi storage, and host path /data/config.
pv-demo.yaml
apiVersion: v1
kind: PersistentVolume
metadata:
name: pv-demo
spec:
capacity:
storage: 512Mi
ac...
sanket-nankar.hashnode.dev2 min read