@@ -47,6 +47,16 @@ const (
47
47
// If conditions are defined in spec.availabilityGates, those conditions must be true as well.
48
48
ClusterAvailableV1Beta2Condition = AvailableV1Beta2Condition
49
49
50
+ // ClusterAvailableV1Beta2Reason surfaces when the cluster availability criteria is met.
51
+ ClusterAvailableV1Beta2Reason = AvailableV1Beta2Reason
52
+
53
+ // ClusterNotAvailableV1Beta2Reason surfaces when the cluster availability criteria is not met (and thus the machine is not available).
54
+ ClusterNotAvailableV1Beta2Reason = NotAvailableV1Beta2Reason
55
+
56
+ // ClusterAvailableUnknownV1Beta2Reason surfaces when at least one cluster availability criteria is unknown
57
+ // and no availability criteria is not met.
58
+ ClusterAvailableUnknownV1Beta2Reason = AvailableUnknownV1Beta2Reason
59
+
50
60
// ClusterAvailableInternalErrorV1Beta2Reason surfaces unexpected error when computing the Available condition.
51
61
ClusterAvailableInternalErrorV1Beta2Reason = InternalErrorV1Beta2Reason
52
62
)
@@ -186,6 +196,17 @@ const (
186
196
// Note: Stand-alone MachineSets and stand-alone Machines are not included in this condition.
187
197
ClusterWorkersAvailableV1Beta2Condition = "WorkersAvailable"
188
198
199
+ // ClusterWorkersAvailableV1Beta2Reason surfaces when all MachineDeployment and MachinePool's Available conditions are true.
200
+ ClusterWorkersAvailableV1Beta2Reason = AvailableV1Beta2Reason
201
+
202
+ // ClusterWorkersNotAvailableV1Beta2Reason surfaces when at least one of the MachineDeployment and MachinePool's Available
203
+ // conditions is false.
204
+ ClusterWorkersNotAvailableV1Beta2Reason = NotAvailableV1Beta2Reason
205
+
206
+ // ClusterWorkersAvailableUnknownV1Beta2Reason surfaces when at least one of the MachineDeployment and MachinePool's Available
207
+ // conditions is unknown and none of those Available conditions is false.
208
+ ClusterWorkersAvailableUnknownV1Beta2Reason = AvailableUnknownV1Beta2Reason
209
+
189
210
// ClusterWorkersAvailableNoWorkersV1Beta2Reason surfaces when no MachineDeployment and MachinePool exist for the Cluster.
190
211
ClusterWorkersAvailableNoWorkersV1Beta2Reason = "NoWorkers"
191
212
@@ -199,6 +220,16 @@ const (
199
220
// ClusterMachinesReadyV1Beta2Condition surfaces detail of issues on the controlled machines, if any.
200
221
ClusterMachinesReadyV1Beta2Condition = MachinesReadyV1Beta2Condition
201
222
223
+ // ClusterMachinesReadyV1Beta2Reason surfaces when all the controlled machine's Ready conditions are true.
224
+ ClusterMachinesReadyV1Beta2Reason = ReadyV1Beta2Reason
225
+
226
+ // ClusterMachinesNotReadyV1Beta2Reason surfaces when at least one of the controlled machine's Ready conditions is false.
227
+ ClusterMachinesNotReadyV1Beta2Reason = NotReadyV1Beta2Reason
228
+
229
+ // ClusterMachinesReadyUnknownV1Beta2Reason surfaces when at least one of the controlled machine's Ready conditions is unknown
230
+ // and none of the controlled machine's Ready conditions is false.
231
+ ClusterMachinesReadyUnknownV1Beta2Reason = ReadyUnknownV1Beta2Reason
232
+
202
233
// ClusterMachinesReadyNoReplicasV1Beta2Reason surfaces when no machines exist for the Cluster.
203
234
ClusterMachinesReadyNoReplicasV1Beta2Reason = NoReplicasV1Beta2Reason
204
235
@@ -212,6 +243,16 @@ const (
212
243
// ClusterMachinesUpToDateV1Beta2Condition surfaces details of Cluster's machines not up to date, if any.
213
244
ClusterMachinesUpToDateV1Beta2Condition = MachinesUpToDateV1Beta2Condition
214
245
246
+ // ClusterMachinesUpToDateV1Beta2Reason surfaces when all the controlled machine's UpToDate conditions are true.
247
+ ClusterMachinesUpToDateV1Beta2Reason = UpToDateV1Beta2Reason
248
+
249
+ // ClusterMachinesNotUpToDateV1Beta2Reason surfaces when at least one of the controlled machine's UpToDate conditions is false.
250
+ ClusterMachinesNotUpToDateV1Beta2Reason = NotUpToDateV1Beta2Reason
251
+
252
+ // ClusterMachinesUpToDateUnknownV1Beta2Reason surfaces when at least one of the controlled machine's UpToDate conditions is unknown
253
+ // and none of the controlled machine's UpToDate conditions is false.
254
+ ClusterMachinesUpToDateUnknownV1Beta2Reason = UpToDateUnknownV1Beta2Reason
255
+
215
256
// ClusterMachinesUpToDateNoReplicasV1Beta2Reason surfaces when no machines exist for the Cluster.
216
257
ClusterMachinesUpToDateNoReplicasV1Beta2Reason = NoReplicasV1Beta2Reason
217
258
@@ -244,10 +285,14 @@ const (
244
285
// MachinePools and stand-alone MachineSets are scaling up.
245
286
ClusterScalingUpV1Beta2Reason = ScalingUpV1Beta2Reason
246
287
247
- // ClusterNotScalingUpV1Beta2Reason surfaces when no one of the Cluster's control plane, MachineDeployments,
288
+ // ClusterNotScalingUpV1Beta2Reason surfaces when none of the Cluster's control plane, MachineDeployments,
248
289
// MachinePools and stand-alone MachineSets are scaling up.
249
290
ClusterNotScalingUpV1Beta2Reason = NotScalingUpV1Beta2Reason
250
291
292
+ // ClusterScalingUpUnknownV1Beta2Reason surfaces when one of the Cluster's control plane, MachineDeployments,
293
+ // MachinePools and stand-alone MachineSets scaling up condition is unknown, and none true.
294
+ ClusterScalingUpUnknownV1Beta2Reason = "ScalingUpUnknown"
295
+
251
296
// ClusterScalingUpInternalErrorV1Beta2Reason surfaces unexpected failures when listing machines
252
297
// or computing the ScalingUp condition.
253
298
ClusterScalingUpInternalErrorV1Beta2Reason = InternalErrorV1Beta2Reason
@@ -263,10 +308,14 @@ const (
263
308
// MachinePools and stand-alone MachineSets are scaling down.
264
309
ClusterScalingDownV1Beta2Reason = ScalingDownV1Beta2Reason
265
310
266
- // ClusterNotScalingDownV1Beta2Reason surfaces when no one of the Cluster's control plane, MachineDeployments,
311
+ // ClusterNotScalingDownV1Beta2Reason surfaces when none of the Cluster's control plane, MachineDeployments,
267
312
// MachinePools and stand-alone MachineSets are scaling down.
268
313
ClusterNotScalingDownV1Beta2Reason = NotScalingUpV1Beta2Reason
269
314
315
+ // ClusterScalingDownUnknownV1Beta2Reason surfaces when one of the Cluster's control plane, MachineDeployments,
316
+ // MachinePools and stand-alone MachineSets scaling down condition is unknown, and none true.
317
+ ClusterScalingDownUnknownV1Beta2Reason = "ScalingDownUnknown"
318
+
270
319
// ClusterScalingDownInternalErrorV1Beta2Reason surfaces unexpected failures when listing machines
271
320
// or computing the ScalingDown condition.
272
321
ClusterScalingDownInternalErrorV1Beta2Reason = InternalErrorV1Beta2Reason
0 commit comments