kata-containers/tests/metrics/disk/cassandra_kubernetes/volume/block-loop-pv.yaml
Gabriela Cervantes e3d511946f metrics: Add block loop pv yaml for cassandra test
This PR adds the block loop pv yaml for cassandra test.

Signed-off-by: Gabriela Cervantes <gabriela.cervantes.tellez@intel.com>
2023-08-11 17:22:29 +00:00

23 lines
465 B
YAML

apiVersion: v1
kind: PersistentVolume
metadata:
name: block-loop-pv
spec:
capacity:
storage: CAPACITY
volumeMode: Block
accessModes:
- ReadWriteOnce
persistentVolumeReclaimPolicy: Retain
storageClassName: block-local-storage
local:
path: LOOP_DEVICE
nodeAffinity:
required:
nodeSelectorTerms:
- matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- HOSTNAME