1. is there a way to map Pv directly to a pod without a claim? 2. how can i map . . .

sfds:

  1. is there a way to map Pv directly to a pod without a claim?
  2. how can i map storage on the host to pod ?
    Example in yaml would be much appriciated

Fernando Jimenez:

  1. Nope. The PVC is how you consume the PV in a pod.
apiVersion: v1
kind: Pod
metadata:
  name: test-pd
spec:
  containers:
  - image: <http://k8s.gcr.io/test-webserver|k8s.gcr.io/test-webserver>
    name: test-container
    volumeMounts:
    - mountPath: /test-pd
      name: test-volume
  volumes:
  - name: test-volume
    hostPath:
      # directory location on host
      path: /data
      # this field is optional
      type: Directory

Fernando Jimenez:
https://kubernetes.io/docs/concepts/storage/volumes/#hostpath-configuration-example