github.com/kata-containers/tests@v0.0.0-20240307153542-772105b56064/integration/kubernetes/runtimeclass_workloads/pod-block-pv.yaml (about) 1 apiVersion: v1 2 kind: Pod 3 metadata: 4 name: pod-block-pv 5 spec: 6 terminationGracePeriodSeconds: 0 7 runtimeClassName: kata 8 containers: 9 - name: my-container 10 image: quay.io/libpod/ubuntu:latest 11 command: ["tail", "-f", "/dev/null"] 12 volumeDevices: 13 - devicePath: DEVICE_PATH 14 name: my-volume 15 imagePullPolicy: IfNotPresent 16 securityContext: 17 capabilities: 18 add: ["SYS_ADMIN"] 19 volumes: 20 - name: my-volume 21 persistentVolumeClaim: 22 claimName: block-loop-pvc