sfds:
- is there a way to map Pv directly to a pod without a claim?
- how can i map storage on the host to pod ?
Example in yaml would be much appriciated
sfds:
Fernando Jimenez:
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