apiVersion: v1
kind: Pod
metadata:
  namespace: demos
  generateName: pv-provisioning-demo-
  labels:
    demo: pv-provisioning
spec:
  terminationGracePeriodSeconds: 0
  containers:
  - name: busybox
    image: busybox
    command:
    - sh
    - -c
    - touch /pv/`hostname`; while true; do sleep 3600; done
    volumeMounts:
    - name: pv
      mountPath: /pv
  volumes:
  - name: pv
    persistentVolumeClaim:
      claimName: pv-provisioning-demo
