apiVersion: v1
kind: Pod
metadata:
  name: nginx
spec:
  containers:
  - name: nginx
    image: nginx
    volumeMounts:
    - name: shared-path
      mountPath: /data/shared
  volumes:
  - name: shared-path
    hostPath:
      path: /tmp
      type: Directory

