1+ ---
2+ apiVersion : apiextensions.k8s.io/v1
3+ kind : CustomResourceDefinition
4+ metadata :
5+ annotations :
6+ controller-gen.kubebuilder.io/version : v0.16.1
7+ name : storagenodes.core.libopenstorage.org
8+ spec :
9+ group : core.libopenstorage.org
10+ names :
11+ kind : StorageNode
12+ listKind : StorageNodeList
13+ plural : storagenodes
14+ shortNames :
15+ - sn
16+ singular : storagenode
17+ scope : Namespaced
18+ versions :
19+ - additionalPrinterColumns :
20+ - description : The corresponding Kubernetes node name for the storage node
21+ jsonPath : .status.nodeUid
22+ name : ID
23+ type : string
24+ - description : The status of the storage node
25+ jsonPath : .status.phase
26+ name : Status
27+ type : string
28+ - description : The version of the storage node
29+ jsonPath : .spec.version
30+ name : Version
31+ type : string
32+ - description : The age of the storage cluster
33+ jsonPath : .metadata.creationTimestamp
34+ name : Age
35+ type : date
36+ name : v1
37+ schema :
38+ openAPIV3Schema :
39+ description : StorageNode is the Schema for the storagenodes API
40+ properties :
41+ apiVersion :
42+ description : |-
43+ APIVersion defines the versioned schema of this representation of an object.
44+ Servers should convert recognized schemas to the latest internal value, and
45+ may reject unrecognized values.
46+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
47+ type : string
48+ kind :
49+ description : |-
50+ Kind is a string value representing the REST resource this object represents.
51+ Servers may infer this from the endpoint the client submits requests to.
52+ Cannot be updated.
53+ In CamelCase.
54+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
55+ type : string
56+ metadata :
57+ type : object
58+ spec :
59+ description : StorageNodeSpec is the spec used to define a storage node
60+ properties :
61+ cloudStorage :
62+ description : CloudStorage configuration specifying storage for the
63+ node in cloud environments
64+ properties :
65+ driveConfigs :
66+ description : DriveConfigs list of cloud drive configs for the
67+ storage node
68+ items :
69+ description : StorageNodeCloudDriveConfig is a structure for
70+ storing a configuration for a single drive
71+ properties :
72+ iops :
73+ description : IOPS required from the cloud drive
74+ format : int64
75+ minimum : 0
76+ type : integer
77+ options :
78+ additionalProperties :
79+ type : string
80+ description : Options are additional options to the cloud
81+ drive
82+ type : object
83+ x-kubernetes-preserve-unknown-fields : true
84+ sizeInGiB :
85+ description : Size of cloud drive in GiB
86+ format : int64
87+ minimum : 0
88+ type : integer
89+ type :
90+ description : Type of cloud storage
91+ type : string
92+ type : object
93+ type : array
94+ type : object
95+ version :
96+ description : Version of the storage driver on the node.
97+ type : string
98+ type : object
99+ status :
100+ description : NodeStatus contains the status of the storage node
101+ properties :
102+ checks :
103+ description : Checks are a list of pre or post flight checks that are
104+ performed by the Operator
105+ items :
106+ description : CheckResult captures result of a pre or post flight
107+ check
108+ properties :
109+ reason :
110+ description : Reason is the reason for success or failure
111+ type : string
112+ result :
113+ description : Result of the success or failure
114+ type : string
115+ success :
116+ description : Success indicates if the check was successful or
117+ failed
118+ type : boolean
119+ type :
120+ description : Type is the type of check that was performed
121+ type : string
122+ type : object
123+ type : array
124+ conditions :
125+ description : Conditions is an array of current node conditions
126+ items :
127+ description : NodeCondition contains condition information for a
128+ storage node
129+ properties :
130+ lastTransitionTime :
131+ description : LastTransitionTime the condition transitioned from
132+ one status to another
133+ format : date-time
134+ type : string
135+ message :
136+ description : Message is human readable message indicating details
137+ about the last transition
138+ type : string
139+ reason :
140+ description : Reason is unique one-word, CamelCase reason for
141+ the condition's last transition
142+ type : string
143+ status :
144+ description : Status of the condition
145+ type : string
146+ type :
147+ description : Type of the node condition
148+ type : string
149+ type : object
150+ type : array
151+ geography :
152+ description : Geo topology information for a node
153+ properties :
154+ rack :
155+ description : Rack rack on which the node is placed
156+ type : string
157+ region :
158+ description : Region region in which the node is placed
159+ type : string
160+ zone :
161+ description : Zone zone in which the node is placed
162+ type : string
163+ type : object
164+ kernelVersion :
165+ description : Kernel version of the underlying host.
166+ type : string
167+ network :
168+ description : Network details used by the storage driver
169+ properties :
170+ dataIP :
171+ description : DataIP is the IP address used by storage driver for
172+ data traffic
173+ type : string
174+ mgmtIP :
175+ description : MgmtIP is the IP address used by storage driver for
176+ management traffic
177+ type : string
178+ type : object
179+ nodeAttributes :
180+ description : Attributes of the storage node.
181+ properties :
182+ kvdb :
183+ description : Indicates whether the node is a kvdb node or not.
184+ type : boolean
185+ storage :
186+ description : Indicates whether the node is a storage node or not.
187+ type : boolean
188+ type : object
189+ nodeUid :
190+ description : NodeUID unique identifier for the node
191+ type : string
192+ operatingSystem :
193+ description : Operating system of the underlying host.
194+ type : string
195+ phase :
196+ description : Phase is the current status of the storage node
197+ type : string
198+ storage :
199+ description : Storage details used by the storage driver
200+ properties :
201+ totalSize :
202+ anyOf :
203+ - type : integer
204+ - type : string
205+ description : TotalSize is the cumulative total size of all storage
206+ pools on the node
207+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
208+ x-kubernetes-int-or-string : true
209+ usedSize :
210+ anyOf :
211+ - type : integer
212+ - type : string
213+ description : UsedSize is the cumulative used size of all storage
214+ pools on the node
215+ pattern : ^(\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))(([KMGTPE]i)|[numkMGTPE]|([eE](\+|-)?(([0-9]+(\.[0-9]*)?)|(\.[0-9]+))))?$
216+ x-kubernetes-int-or-string : true
217+ type : object
218+ type : object
219+ type : object
220+ served : true
221+ storage : true
222+ subresources :
223+ status : {}
224+ - name : v1alpha1
225+ schema :
226+ openAPIV3Schema :
227+ description : StorageNode is the Schema for the storagenodes API
228+ properties :
229+ apiVersion :
230+ description : |-
231+ APIVersion defines the versioned schema of this representation of an object.
232+ Servers should convert recognized schemas to the latest internal value, and
233+ may reject unrecognized values.
234+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources
235+ type : string
236+ kind :
237+ description : |-
238+ Kind is a string value representing the REST resource this object represents.
239+ Servers may infer this from the endpoint the client submits requests to.
240+ Cannot be updated.
241+ In CamelCase.
242+ More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
243+ type : string
244+ metadata :
245+ type : object
246+ type : object
247+ x-kubernetes-preserve-unknown-fields : true
248+ served : false
249+ storage : false
250+ subresources :
251+ status : {}
0 commit comments