apiVersion: v1
kind: Pod
metadata:
  name: example-pod-block
spec:
  containers:
    - name: example
      image: ubuntu
      volumeDevices:
        - devicePath: "/dev/example-block"
          name: example-volume
      stdin: true
      stdinOnce: true
      tty: true
  volumes:
    - name: example-volume
      persistentVolumeClaim:
        claimName: example-pvc-block
