-
Notifications
You must be signed in to change notification settings - Fork 242
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(openebs): add
diskpool
v1beta2 CRD
- Loading branch information
1 parent
fdacb2e
commit 0c30e64
Showing
1 changed file
with
100 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" | ||
} |