github.com/openebs/node-disk-manager@v1.9.1-0.20230225014141-4531f06ffa1e/deploy/crds/openebs_v1alpha1_blockdeviceclaim_cr.yaml (about)

     1  apiVersion: openebs.io/v1alpha1
     2  kind: BlockDeviceClaim
     3  metadata:
     4    name: example-blockdeviceclaim
     5  spec:
     6    selector:
     7      matchLabels:
     8        openebs.io/block-device-tag: <value> # optional tag that can be used to select block devices
     9    blockDeviceNodeAttributes:
    10      nodeName: "" # node name of the k8s node. Output from `kubectl get nodes`
    11      hostName: "" # hostname of the node from which you want to get a BD
    12    blockDeviceName: "" # BD name, if you want to claim a specific block device
    13    resources:
    14      requests:
    15        storage: 10G # minimum capacity required