apiVersion: v1
kind: Pod
metadata:
  name: host-path-pd
spec:
  containers:
  - image: kammana/nodeapp:v1
    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: DirectoryOrCreate
