first commit
This commit is contained in:
@@ -0,0 +1,324 @@
|
||||
{
|
||||
"description": "Node is where Longhorn stores Longhorn node object.",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"description": "APIVersion defines the versioned schema of this representation of an object.\nServers should convert recognized schemas to the latest internal value, and\nmay reject unrecognized values.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources",
|
||||
"type": "string"
|
||||
},
|
||||
"kind": {
|
||||
"description": "Kind is a string value representing the REST resource this object represents.\nServers may infer this from the endpoint the client submits requests to.\nCannot be updated.\nIn CamelCase.\nMore info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds",
|
||||
"type": "string"
|
||||
},
|
||||
"metadata": {
|
||||
"type": "object"
|
||||
},
|
||||
"spec": {
|
||||
"description": "NodeSpec defines the desired state of the Longhorn node",
|
||||
"properties": {
|
||||
"allowScheduling": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"disks": {
|
||||
"additionalProperties": {
|
||||
"properties": {
|
||||
"allowScheduling": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"diskDriver": {
|
||||
"enum": [
|
||||
"",
|
||||
"auto",
|
||||
"aio",
|
||||
"nvme"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"diskType": {
|
||||
"enum": [
|
||||
"filesystem",
|
||||
"block"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"evictionRequested": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"path": {
|
||||
"type": "string"
|
||||
},
|
||||
"storageReserved": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"tags": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"evictionRequested": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"instanceManagerCPURequest": {
|
||||
"type": "integer"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"tags": {
|
||||
"items": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": "array"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"status": {
|
||||
"description": "NodeStatus defines the observed state of the Longhorn node",
|
||||
"properties": {
|
||||
"autoEvicting": {
|
||||
"type": "boolean"
|
||||
},
|
||||
"conditions": {
|
||||
"items": {
|
||||
"properties": {
|
||||
"lastProbeTime": {
|
||||
"description": "Last time we probed the condition.",
|
||||
"type": "string"
|
||||
},
|
||||
"lastTransitionTime": {
|
||||
"description": "Last time the condition transitioned from one status to another.",
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"description": "Human-readable message indicating details about last transition.",
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"description": "Status is the status of the condition.\nCan be True, False, Unknown.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "Type is the type of the condition.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"nullable": true,
|
||||
"type": "array"
|
||||
},
|
||||
"diskStatus": {
|
||||
"additionalProperties": {
|
||||
"properties": {
|
||||
"conditions": {
|
||||
"items": {
|
||||
"properties": {
|
||||
"lastProbeTime": {
|
||||
"description": "Last time we probed the condition.",
|
||||
"type": "string"
|
||||
},
|
||||
"lastTransitionTime": {
|
||||
"description": "Last time the condition transitioned from one status to another.",
|
||||
"type": "string"
|
||||
},
|
||||
"message": {
|
||||
"description": "Human-readable message indicating details about last transition.",
|
||||
"type": "string"
|
||||
},
|
||||
"reason": {
|
||||
"description": "Unique, one-word, CamelCase reason for the condition's last transition.",
|
||||
"type": "string"
|
||||
},
|
||||
"status": {
|
||||
"description": "Status is the status of the condition.\nCan be True, False, Unknown.",
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"description": "Type is the type of the condition.",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"nullable": true,
|
||||
"type": "array"
|
||||
},
|
||||
"diskDriver": {
|
||||
"type": "string"
|
||||
},
|
||||
"diskName": {
|
||||
"type": "string"
|
||||
},
|
||||
"diskPath": {
|
||||
"type": "string"
|
||||
},
|
||||
"diskType": {
|
||||
"type": "string"
|
||||
},
|
||||
"diskUUID": {
|
||||
"type": "string"
|
||||
},
|
||||
"filesystemType": {
|
||||
"type": "string"
|
||||
},
|
||||
"healthData": {
|
||||
"additionalProperties": {
|
||||
"properties": {
|
||||
"attributes": {
|
||||
"items": {
|
||||
"properties": {
|
||||
"id": {
|
||||
"type": "integer"
|
||||
},
|
||||
"name": {
|
||||
"type": "string"
|
||||
},
|
||||
"rawString": {
|
||||
"type": "string"
|
||||
},
|
||||
"rawValue": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"threshold": {
|
||||
"type": "integer"
|
||||
},
|
||||
"value": {
|
||||
"type": "integer"
|
||||
},
|
||||
"whenFailed": {
|
||||
"type": "string"
|
||||
},
|
||||
"worst": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"type": "array"
|
||||
},
|
||||
"capacity": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"diskName": {
|
||||
"type": "string"
|
||||
},
|
||||
"diskType": {
|
||||
"type": "string"
|
||||
},
|
||||
"firmwareVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"healthStatus": {
|
||||
"enum": [
|
||||
"FAILED",
|
||||
"PASSED",
|
||||
"UNKNOWN",
|
||||
"WARNING"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"modelName": {
|
||||
"type": "string"
|
||||
},
|
||||
"serialNumber": {
|
||||
"type": "string"
|
||||
},
|
||||
"source": {
|
||||
"enum": [
|
||||
"SMART",
|
||||
"SPDK"
|
||||
],
|
||||
"type": "string"
|
||||
},
|
||||
"temperature": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"type": "object"
|
||||
},
|
||||
"healthDataLastCollectedAt": {
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
},
|
||||
"instanceManagerName": {
|
||||
"type": "string"
|
||||
},
|
||||
"scheduledBackingImage": {
|
||||
"additionalProperties": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"nullable": true,
|
||||
"type": "object"
|
||||
},
|
||||
"scheduledReplica": {
|
||||
"additionalProperties": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"nullable": true,
|
||||
"type": "object"
|
||||
},
|
||||
"storageAvailable": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"storageMaximum": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
},
|
||||
"storageScheduled": {
|
||||
"format": "int64",
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"nullable": true,
|
||||
"type": "object"
|
||||
},
|
||||
"region": {
|
||||
"type": "string"
|
||||
},
|
||||
"snapshotCheckStatus": {
|
||||
"properties": {
|
||||
"lastPeriodicCheckedAt": {
|
||||
"format": "date-time",
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
},
|
||||
"zone": {
|
||||
"type": "string"
|
||||
}
|
||||
},
|
||||
"type": "object",
|
||||
"additionalProperties": false
|
||||
}
|
||||
},
|
||||
"type": "object"
|
||||
}
|
||||
Reference in New Issue
Block a user