@@ -3,7 +3,7 @@ apiVersion: apiextensions.k8s.io/v1
33kind : CustomResourceDefinition
44metadata :
55 annotations :
6- controller-gen.kubebuilder.io/version : v0.14 .0
6+ controller-gen.kubebuilder.io/version : v0.18 .0
77 name : nodehealthchecks.remediation.medik8s.io
88spec :
99 group : remediation.medik8s.io
4848 gets healthy within the timeout of the currently processed remediation. The order of
4949 remediation is defined by the "order" field of each "escalatingRemediation".
5050
51-
5251 Mutually exclusive with RemediationTemplate
5352 items :
5453 description : EscalatingRemediation defines a remediation template
6564 RemediationTemplate is a reference to a remediation template
6665 provided by a remediation provider.
6766
68-
6967 If a node needs remediation the controller will create an object from this template
7068 and then it should be picked up by a remediation provider.
7169 properties :
8179 the event) or if no container name is specified "spec.containers[2]" (container with
8280 index 2 in this pod). This syntax is chosen only to have some well-defined way of
8381 referencing a part of an object.
84- TODO: this design is not final and this field is subject to change in the future.
8582 type : string
8683 kind :
8784 description : |-
@@ -117,7 +114,6 @@ spec:
117114 the overall remediation is considered as failed.
118115 As a safeguard for preventing parallel remediations, a minimum of 60s is enforced.
119116
120-
121117 Expects a string of decimal numbers each with optional
122118 fraction and a unit suffix, eg "300ms", "1.5h" or "2h45m".
123119 Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
@@ -177,11 +173,9 @@ spec:
177173 RemediationTemplate is a reference to a remediation template
178174 provided by an infrastructure provider.
179175
180-
181176 If a node needs remediation the controller will create an object from this template
182177 and then it should be picked up by a remediation provider.
183178
184-
185179 Mutually exclusive with EscalatingRemediations
186180 properties :
187181 apiVersion :
@@ -196,7 +190,6 @@ spec:
196190 the event) or if no container name is specified "spec.containers[2]" (container with
197191 index 2 in this pod). This syntax is chosen only to have some well-defined way of
198192 referencing a part of an object.
199- TODO: this design is not final and this field is subject to change in the future.
200193 type : string
201194 kind :
202195 description : |-
@@ -229,11 +222,9 @@ spec:
229222 description : |-
230223 Label selector to match nodes whose health will be exercised.
231224
232-
233225 Selecting both control-plane and worker nodes in one NHC CR is
234226 highly discouraged and can result in undesired behaviour.
235227
236-
237228 Note: mandatory now for above reason, but for backwards compatibility existing
238229 CRs will continue to work with an empty selector, which matches all nodes.
239230 properties :
@@ -300,7 +291,6 @@ spec:
300291 description : |-
301292 Duration of the condition specified when a node is considered unhealthy.
302293
303-
304294 Expects a string of decimal numbers each with optional
305295 fraction and a unit suffix, eg "300ms", "1.5h" or "2h45m".
306296 Valid time units are "ns", "us" (or "µs"), "ms", "s", "m", "h".
@@ -336,16 +326,8 @@ spec:
336326 Represents the observations of a NodeHealthCheck's current state.
337327 Known .status.conditions.type are: "Disabled"
338328 items :
339- description : " Condition contains details for one aspect of the current
340- state of this API Resource.\n ---\n This struct is intended for
341- direct use as an array at the field path .status.conditions. For
342- example,\n\n\n\t type FooStatus struct{\n\t // Represents the
343- observations of a foo's current state.\n\t // Known .status.conditions.type
344- are: \" Available\" , \" Progressing\" , and \" Degraded\"\n\t //
345- +patchMergeKey=type\n\t // +patchStrategy=merge\n\t // +listType=map\n\t
346- \ // +listMapKey=type\n\t Conditions []metav1.Condition `json:\" conditions,omitempty\"
347- patchStrategy:\" merge\" patchMergeKey:\" type\" protobuf:\" bytes,1,rep,name=conditions\" `\n\n\n\t
348- \ // other fields\n\t }"
329+ description : Condition contains details for one aspect of the current
330+ state of this API Resource.
349331 properties :
350332 lastTransitionTime :
351333 description : |-
@@ -386,12 +368,7 @@ spec:
386368 - Unknown
387369 type : string
388370 type :
389- description : |-
390- type of condition in CamelCase or in foo.example.com/CamelCase.
391- ---
392- Many .condition.type values are consistent across resources like Available, but because arbitrary conditions can be
393- useful (see .node.status.conditions), the ability to deconflict is important.
394- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt)
371+ description : type of condition in CamelCase or in foo.example.com/CamelCase.
395372 maxLength : 316
396373 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])$
397374 type : string
@@ -480,7 +457,6 @@ spec:
480457 the event) or if no container name is specified "spec.containers[2]" (container with
481458 index 2 in this pod). This syntax is chosen only to have some well-defined way of
482459 referencing a part of an object.
483- TODO: this design is not final and this field is subject to change in the future.
484460 type : string
485461 kind :
486462 description : |-
0 commit comments