@@ -20,11 +20,25 @@ import clusterv1 "sigs.k8s.io/cluster-api/api/v1beta1"
20
20
21
21
// KubeadmControlPlane's Available condition and corresponding reasons that will be used in v1Beta2 API version.
22
22
const (
23
- // KubeadmControlPlaneAvailableV1Beta2Condition True if the control plane can be reached, EtcdClusterHealthy is true,
23
+ // KubeadmControlPlaneAvailableV1Beta2Condition is True if the control plane can be reached, EtcdClusterHealthy is true,
24
24
// and CertificatesAvailable is true.
25
25
KubeadmControlPlaneAvailableV1Beta2Condition = clusterv1 .AvailableV1Beta2Condition
26
26
)
27
27
28
+ // KubeadmControlPlane's Initialized condition and corresponding reasons that will be used in v1Beta2 API version.
29
+ const (
30
+ // KubeadmControlPlaneInitializedV1Beta2Condition is True when the control plane is functional enough to accept
31
+ // requests. This information is usually used as a signal for starting all the provisioning operations that
32
+ // depend on a functional API server, but do not require a full HA control plane to exist.
33
+ KubeadmControlPlaneInitializedV1Beta2Condition = "Initialized"
34
+
35
+ // KubeadmControlPlaneInitializedV1Beta2Reason surfaces when the control plane is initialized.
36
+ KubeadmControlPlaneInitializedV1Beta2Reason = "Initialized"
37
+
38
+ // KubeadmControlPlaneNotInitializedV1Beta2Reason surfaces when the control plane is not initialized.
39
+ KubeadmControlPlaneNotInitializedV1Beta2Reason = "NotInitialized"
40
+ )
41
+
28
42
// KubeadmControlPlane's CertificatesAvailable condition and corresponding reasons that will be used in v1Beta2 API version.
29
43
const (
30
44
// KubeadmControlPlaneCertificatesAvailableV1Beta2Condition True if all the cluster certificates exist.
@@ -52,6 +66,10 @@ const (
52
66
// etcd cluster hosted on KubeadmControlPlane controlled machines.
53
67
KubeadmControlPlaneEtcdClusterInspectionFailedV1Beta2Reason = clusterv1 .InspectionFailedV1Beta2Reason
54
68
69
+ // KubeadmControlPlaneEtcdClusterConnectionDownV1Beta2Reason surfaces that the connection to the workload
70
+ // cluster is down.
71
+ KubeadmControlPlaneEtcdClusterConnectionDownV1Beta2Reason = clusterv1 .ConnectionDownV1Beta2Reason
72
+
55
73
// KubeadmControlPlaneEtcdClusterHealthyV1Beta2Reason surfaces when the etcd cluster hosted on KubeadmControlPlane
56
74
// machines is healthy.
57
75
KubeadmControlPlaneEtcdClusterHealthyV1Beta2Reason = "Healthy"
@@ -77,6 +95,10 @@ const (
77
95
// control plane components hosted on KubeadmControlPlane controlled machines.
78
96
KubeadmControlPlaneControlPlaneComponentsInspectionFailedV1Beta2Reason = clusterv1 .InspectionFailedV1Beta2Reason
79
97
98
+ // KubeadmControlPlaneControlPlaneComponentsConnectionDownV1Beta2Reason surfaces that the connection to the workload
99
+ // cluster is down.
100
+ KubeadmControlPlaneControlPlaneComponentsConnectionDownV1Beta2Reason = clusterv1 .ConnectionDownV1Beta2Reason
101
+
80
102
// KubeadmControlPlaneControlPlaneComponentsHealthyV1Beta2Reason surfaces when the Kubernetes control plane components
81
103
// hosted on KubeadmControlPlane machines are healthy.
82
104
KubeadmControlPlaneControlPlaneComponentsHealthyV1Beta2Reason = "Healthy"
@@ -233,13 +255,13 @@ const (
233
255
// pod hosted on a KubeadmControlPlane controlled machine.
234
256
KubeadmControlPlaneMachinePodInspectionFailedV1Beta2Reason = clusterv1 .InspectionFailedV1Beta2Reason
235
257
258
+ // KubeadmControlPlaneMachinePodConnectionDownV1Beta2Reason surfaces that the connection to the workload
259
+ // cluster is down.
260
+ KubeadmControlPlaneMachinePodConnectionDownV1Beta2Reason = clusterv1 .ConnectionDownV1Beta2Reason
261
+
236
262
// KubeadmControlPlaneMachinePodDeletingV1Beta2Reason surfaces when the machine hosting control plane components
237
263
// is being deleted.
238
264
KubeadmControlPlaneMachinePodDeletingV1Beta2Reason = "Deleting"
239
-
240
- // KubeadmControlPlaneMachinePodInternalErrorV1Beta2Reason surfaces unexpected failures when reading pod hosted
241
- // on a KubeadmControlPlane controlled machine.
242
- KubeadmControlPlaneMachinePodInternalErrorV1Beta2Reason = clusterv1 .InternalErrorV1Beta2Reason
243
265
)
244
266
245
267
// EtcdMemberHealthy condition and corresponding reasons that will be used for KubeadmControlPlane controlled machines in v1Beta2 API version.
@@ -257,6 +279,10 @@ const (
257
279
// etcd member hosted on a KubeadmControlPlane controlled machine.
258
280
KubeadmControlPlaneMachineEtcdMemberInspectionFailedV1Beta2Reason = clusterv1 .InspectionFailedV1Beta2Reason
259
281
282
+ // KubeadmControlPlaneMachineEtcdMemberConnectionDownV1Beta2Reason surfaces that the connection to the workload
283
+ // cluster is down.
284
+ KubeadmControlPlaneMachineEtcdMemberConnectionDownV1Beta2Reason = clusterv1 .ConnectionDownV1Beta2Reason
285
+
260
286
// KubeadmControlPlaneMachineEtcdMemberDeletingV1Beta2Reason surfaces when the machine hosting an etcd member
261
287
// is being deleted.
262
288
KubeadmControlPlaneMachineEtcdMemberDeletingV1Beta2Reason = "Deleting"
0 commit comments