Skip to content

Instantly share code, notes, and snippets.

@wzhliang
Created December 14, 2020 09:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wzhliang/ca8d3ce9ef674196419436b1120651a8 to your computer and use it in GitHub Desktop.
Save wzhliang/ca8d3ce9ef674196419436b1120651a8 to your computer and use it in GitHub Desktop.
apiVersion: openebs.io/v1alpha1
kind: BlockDevice
metadata:
annotations:
internal.openebs.io/uuid-scheme: gpt
creationTimestamp: "2020-11-02T09:17:41Z"
generation: 5
labels:
kubernetes.io/hostname: k8s02
ndm.io/blockdevice-type: blockdevice
ndm.io/managed: "true"
name: blockdevice-8a98caf0948c41caa4dbe0e4a1b36813
namespace: openebs
resourceVersion: "10478291"
selfLink: /apis/openebs.io/v1alpha1/namespaces/openebs/blockdevices/blockdevice-8a98caf0948c41caa4dbe0e4a1b36813
uid: ab12017a-9442-4fb0-a9ef-1518ad4beb59
spec:
capacity:
logicalSectorSize: 512
physicalSectorSize: 512
storage: 17179869184
details:
compliance: ""
deviceType: disk
driveType: HDD
firmwareRevision: ""
hardwareSectorSize: 512
logicalBlockSize: 512
model: ""
physicalBlockSize: 512
serial: ""
vendor: ""
devlinks:
- kind: by-path
links:
- /dev/disk/by-path/pci-0000:00:08.0
- /dev/disk/by-path/virtio-pci-0000:00:08.0
filesystem:
fsType: swap
nodeAttributes:
nodeName: k8s02
partitioned: "No"
path: /dev/vdb
status:
claimState: Unclaimed
state: Active
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment