---
apiVersion: v1
kind: Pod
metadata:
  name: nginx-subpath
spec:
  containers:
  - image: nginx
    name: nginx-subpath
    volumeMounts:
    - name: test-volume
      mountPath: /mnt/subpath
      subPath: waagent
  volumes:
  - name: test-volume
    hostPath:
      path: /var/lib

