@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33kind : CustomResourceDefinition
44metadata :
55 annotations :
6- controller-gen.kubebuilder.io/version : v0.15 .0
6+ controller-gen.kubebuilder.io/version : v0.16 .0
77 name : internalmemberclusters.cluster.kubernetes-fleet.io
88spec :
99 group : cluster.kubernetes-fleet.io
8080 description : Conditions is an array of current observed conditions
8181 for the member agent.
8282 items :
83- description : " Condition contains details for one aspect of
84- the current state of this API Resource.\n ---\n This struct
85- is intended for direct use as an array at the field path
86- .status.conditions. For example,\n\n\n\t type FooStatus
87- struct{\n\t // Represents the observations of a foo's
88- current state.\n\t // Known .status.conditions.type are:
89- \" Available\" , \" Progressing\" , and \" Degraded\"\n\t //
90- +patchMergeKey=type\n\t // +patchStrategy=merge\n\t //
91- +listType=map\n\t // +listMapKey=type\n\t Conditions
92- []metav1.Condition `json:\" conditions,omitempty\" patchStrategy:\" merge\"
93- patchMergeKey:\" type\" protobuf:\" bytes,1,rep,name=conditions\" `\n\n\n\t
94- \ // other fields\n\t }"
83+ description : Condition contains details for one aspect of
84+ the current state of this API Resource.
9585 properties :
9686 lastTransitionTime :
9787 description : |-
@@ -133,12 +123,7 @@ spec:
133123 - Unknown
134124 type : string
135125 type :
136- description : |-
137- type of condition in CamelCase or in foo.example.com/CamelCase.
138- ---
139- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
140- useful (see .node.status.conditions), the ability to deconflict is important.
141- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
126+ description : type of condition in CamelCase or in foo.example.com/CamelCase.
142127 maxLength : 316
143128 pattern : ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
144129 type : string
@@ -169,16 +154,8 @@ spec:
169154 description : Conditions is an array of current observed conditions
170155 for the member cluster.
171156 items :
172- description : " Condition contains details for one aspect of the current
173- state of this API Resource.\n ---\n This struct is intended for
174- direct use as an array at the field path .status.conditions. For
175- example,\n\n\n\t type FooStatus struct{\n\t // Represents the
176- observations of a foo's current state.\n\t // Known .status.conditions.type
177- are: \" Available\" , \" Progressing\" , and \" Degraded\"\n\t //
178- +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
179- \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\" conditions,omitempty\"
180- patchStrategy:\" merge\" patchMergeKey:\" type\" protobuf:\" bytes,1,rep,name=conditions\" `\n\n\n\t
181- \ // other fields\n\t }"
157+ description : Condition contains details for one aspect of the current
158+ state of this API Resource.
182159 properties :
183160 lastTransitionTime :
184161 description : |-
@@ -219,12 +196,7 @@ spec:
219196 - Unknown
220197 type : string
221198 type :
222- description : |-
223- type of condition in CamelCase or in foo.example.com/CamelCase.
224- ---
225- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
226- useful (see .node.status.conditions), the ability to deconflict is important.
227- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
199+ description : type of condition in CamelCase or in foo.example.com/CamelCase.
228200 maxLength : 316
229201 pattern : ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
230202 type : string
@@ -249,7 +221,6 @@ spec:
249221 description : |-
250222 Value is the value of the cluster property.
251223
252-
253224 Currently, it should be a valid Kubernetes quantity.
254225 For more information, see
255226 https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity.
@@ -261,7 +232,6 @@ spec:
261232 description : |-
262233 Properties is an array of properties observed for the member cluster.
263234
264-
265235 This field is beta-level; it is for the property-based scheduling feature and is only
266236 populated when a property provider is enabled in the deployment.
267237 type : object
@@ -279,12 +249,10 @@ spec:
279249 description : |-
280250 Allocatable represents the total allocatable resources of all the nodes on a member cluster.
281251
282-
283252 A node's allocatable capacity is the amount of resource that can actually be used
284253 for user workloads, i.e.,
285254 allocatable capacity = total capacity - capacities reserved for the OS, kubelet, etc.
286255
287-
288256 For more information, see
289257 https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/.
290258 type : object
@@ -298,11 +266,9 @@ spec:
298266 description : |-
299267 Available represents the total available resources of all the nodes on a member cluster.
300268
301-
302269 A node's available capacity is the amount of resource that has not been used yet, i.e.,
303270 available capacity = allocatable capacity - capacity that has been requested by workloads.
304271
305-
306272 This field is beta-level; it is for the property-based scheduling feature and is only
307273 populated when a property provider is enabled in the deployment.
308274 type : object
@@ -316,7 +282,6 @@ spec:
316282 description : |-
317283 Capacity represents the total resource capacity of all the nodes on a member cluster.
318284
319-
320285 A node's total capacity is the amount of resource installed on the node.
321286 type : object
322287 observationTime :
@@ -393,18 +358,8 @@ spec:
393358 description : Conditions is an array of current observed conditions
394359 for the member agent.
395360 items :
396- description : " Condition contains details for one aspect of
397- the current state of this API Resource.\n ---\n This struct
398- is intended for direct use as an array at the field path
399- .status.conditions. For example,\n\n\n\t type FooStatus
400- struct{\n\t // Represents the observations of a foo's
401- current state.\n\t // Known .status.conditions.type are:
402- \" Available\" , \" Progressing\" , and \" Degraded\"\n\t //
403- +patchMergeKey=type\n\t // +patchStrategy=merge\n\t //
404- +listType=map\n\t // +listMapKey=type\n\t Conditions
405- []metav1.Condition `json:\" conditions,omitempty\" patchStrategy:\" merge\"
406- patchMergeKey:\" type\" protobuf:\" bytes,1,rep,name=conditions\" `\n\n\n\t
407- \ // other fields\n\t }"
361+ description : Condition contains details for one aspect of
362+ the current state of this API Resource.
408363 properties :
409364 lastTransitionTime :
410365 description : |-
@@ -446,12 +401,7 @@ spec:
446401 - Unknown
447402 type : string
448403 type :
449- description : |-
450- type of condition in CamelCase or in foo.example.com/CamelCase.
451- ---
452- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
453- useful (see .node.status.conditions), the ability to deconflict is important.
454- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
404+ description : type of condition in CamelCase or in foo.example.com/CamelCase.
455405 maxLength : 316
456406 pattern : ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
457407 type : string
@@ -482,16 +432,8 @@ spec:
482432 description : Conditions is an array of current observed conditions
483433 for the member cluster.
484434 items :
485- description : " Condition contains details for one aspect of the current
486- state of this API Resource.\n ---\n This struct is intended for
487- direct use as an array at the field path .status.conditions. For
488- example,\n\n\n\t type FooStatus struct{\n\t // Represents the
489- observations of a foo's current state.\n\t // Known .status.conditions.type
490- are: \" Available\" , \" Progressing\" , and \" Degraded\"\n\t //
491- +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
492- \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\" conditions,omitempty\"
493- patchStrategy:\" merge\" patchMergeKey:\" type\" protobuf:\" bytes,1,rep,name=conditions\" `\n\n\n\t
494- \ // other fields\n\t }"
435+ description : Condition contains details for one aspect of the current
436+ state of this API Resource.
495437 properties :
496438 lastTransitionTime :
497439 description : |-
@@ -532,12 +474,7 @@ spec:
532474 - Unknown
533475 type : string
534476 type :
535- description : |-
536- type of condition in CamelCase or in foo.example.com/CamelCase.
537- ---
538- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
539- useful (see .node.status.conditions), the ability to deconflict is important.
540- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
477+ description : type of condition in CamelCase or in foo.example.com/CamelCase.
541478 maxLength : 316
542479 pattern : ^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$
543480 type : string
@@ -562,7 +499,6 @@ spec:
562499 description : |-
563500 Value is the value of the cluster property.
564501
565-
566502 Currently, it should be a valid Kubernetes quantity.
567503 For more information, see
568504 https://pkg.go.dev/k8s.io/apimachinery/pkg/api/resource#Quantity.
@@ -574,7 +510,6 @@ spec:
574510 description : |-
575511 Properties is an array of properties observed for the member cluster.
576512
577-
578513 This field is beta-level; it is for the property-based scheduling feature and is only
579514 populated when a property provider is enabled in the deployment.
580515 type : object
@@ -592,12 +527,10 @@ spec:
592527 description : |-
593528 Allocatable represents the total allocatable resources of all the nodes on a member cluster.
594529
595-
596530 A node's allocatable capacity is the amount of resource that can actually be used
597531 for user workloads, i.e.,
598532 allocatable capacity = total capacity - capacities reserved for the OS, kubelet, etc.
599533
600-
601534 For more information, see
602535 https://kubernetes.io/docs/tasks/administer-cluster/reserve-compute-resources/.
603536 type : object
@@ -611,11 +544,9 @@ spec:
611544 description : |-
612545 Available represents the total available resources of all the nodes on a member cluster.
613546
614-
615547 A node's available capacity is the amount of resource that has not been used yet, i.e.,
616548 available capacity = allocatable capacity - capacity that has been requested by workloads.
617549
618-
619550 This field is beta-level; it is for the property-based scheduling feature and is only
620551 populated when a property provider is enabled in the deployment.
621552 type : object
@@ -629,7 +560,6 @@ spec:
629560 description : |-
630561 Capacity represents the total resource capacity of all the nodes on a member cluster.
631562
632-
633563 A node's total capacity is the amount of resource installed on the node.
634564 type : object
635565 observationTime :
0 commit comments