kind: Pod
apiVersion: v1
metadata:
  name: block-test
spec:
  containers:
  - name: block-test
    image: busybox
    command:
    - sh
    - -c
    - "while :;do sleep 3600; done"
    volumeMounts:
    - name: data
      mountPath: /data
    securityContext:
      privileged: true
  volumes:
  - name: data
    hostPath:
      path: /dev/sdb
      type: BlockDevice
