when we create a PV using localhost, from where does the storage gets allocated?
is it on the master node or the worker node where pods is running?
apiVersion: v1
kind: PersistentVolume
metadata:
name: safari-pv
labels:
type: local
spec:
capacity:
storage: 2Gi
accessModes:
- ReadWriteOnce
hostPath:
path: “/Volume/data”
Thank you