Skip to content

Commit

Permalink
chore(openebs): add diskpool v1beta2 CRD
Browse files Browse the repository at this point in the history
  • Loading branch information
marcolongol committed Jun 6, 2024
1 parent fdacb2e commit 0c30e64
Showing 1 changed file with 100 additions and 0 deletions.
100 changes: 100 additions & 0 deletions openebs.io/diskpool_v1beta2.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
{
"description": "Auto-generated derived type for DiskPoolSpec via `CustomResource`",
"properties": {
"spec": {
"description": "The pool spec which contains the parameters we use when creating the pool",
"properties": {
"disks": {
"description": "The disk device the pool is located on",
"items": {
"type": "string"
},
"type": "array"
},
"node": {
"description": "The node the pool is placed on",
"type": "string"
},
"topology": {
"description": "The topology for data placement.",
"nullable": true,
"properties": {
"labelled": {
"additionalProperties": {
"type": "string"
},
"default": {},
"description": "Label for topology",
"type": "object"
}
},
"type": "object",
"additionalProperties": false
}
},
"required": [
"disks",
"node"
],
"type": "object",
"additionalProperties": false
},
"status": {
"description": "Status of the pool which is driven and changed by the controller loop.",
"nullable": true,
"properties": {
"available": {
"description": "Available number of bytes.",
"format": "uint64",
"minimum": 0,
"type": "integer"
},
"capacity": {
"description": "Capacity as number of bytes.",
"format": "uint64",
"minimum": 0,
"type": "integer"
},
"cr_state": {
"default": "Creating",
"description": "PoolState represents operator specific states for DSP CR.",
"enum": [
"Creating",
"Created",
"Terminating"
],
"type": "string"
},
"pool_status": {
"description": "Pool status from respective control plane object.",
"enum": [
"Unknown",
"Online",
"Degraded",
"Faulted"
],
"nullable": true,
"type": "string"
},
"used": {
"description": "Used number of bytes.",
"format": "uint64",
"minimum": 0,
"type": "integer"
}
},
"required": [
"available",
"capacity",
"used"
],
"type": "object",
"additionalProperties": false
}
},
"required": [
"spec"
],
"title": "DiskPool",
"type": "object"
}

0 comments on commit 0c30e64

Please sign in to comment.