# Constants
AvailableCondition documents that the first control plane instance has completed the kubeadm init operation and so the control plane is available and an API server instance is ready for processing requests.
BootstrapTemplateCloningFailedReason (Severity=Error) documents a KubeadmControlPlane failing to clone the bootstrap template.
CertificatesAvailableCondition documents that cluster certificates were generated as part of the processing of a KubeadmControlPlane object.
CertificatesGenerationFailedReason (Severity=Warning) documents a KubeadmControlPlane controller detecting an error while generating certificates; those kind of errors are usually temporary and the controller automatically recover from them.
ControlPlaneComponentsHealthyCondition reports the overall status of control plane components implemented as static pods generated by kubeadm including kube-api-server, kube-controller manager, kube-scheduler and etcd if managed.
ControlPlaneComponentsInspectionFailedReason documents a failure in inspecting the control plane component status.
ControlPlaneComponentsUnhealthyReason (Severity=Error) documents a control plane component not healthy.
ControlPlaneComponentsUnknownReason reports a control plane component in unknown status.
DefaultMinHealthyPeriod defines the default minimum period before we consider a remediation on a machine unrelated from the previous remediation.
EtcdClusterHealthyCondition documents the overall etcd cluster's health.
EtcdClusterInspectionFailedReason documents a failure in inspecting the etcd cluster status.
EtcdClusterUnhealthyReason (Severity=Error) is set when the etcd cluster is unhealthy.
EtcdClusterUnknownReason reports an etcd cluster in unknown status.
EtcdMemberInspectionFailedReason documents a failure in inspecting the etcd member status.
EtcdMemberUnhealthyReason (Severity=Error) documents a Machine's etcd member is unhealthy.
InfrastructureTemplateCloningFailedReason (Severity=Error) documents a KubeadmControlPlane failing to clone the infrastructure template.
KubeadmClusterConfigurationAnnotation is a machine annotation that stores the json-marshalled string of KCP ClusterConfiguration.
KubeadmControlPlaneAvailableInspectionFailedV1Beta2Reason documents a failure when inspecting the status of the etcd cluster hosted on KubeadmControlPlane controlled machines.
KubeadmControlPlaneAvailableV1Beta2Condition is true if KubeadmControlPlane is not deleted, `CertificatesAvailable` is true, at least one Machine with healthy control plane components, and etcd has enough operational members to meet quorum requirements.
KubeadmControlPlaneAvailableV1Beta2Reason surfaces when the KubeadmControlPlane is available.
KubeadmControlPlaneCertificatesAvailableV1Beta2Condition True if all the cluster certificates exist.
KubeadmControlPlaneCertificatesAvailableV1Beta2Reason surfaces when cluster certificates are available, no matter if those certificates have been provided by the user or generated by KubeadmControlPlane itself.
KubeadmControlPlaneCertificatesInternalErrorV1Beta2Reason surfaces unexpected failures when reconciling cluster certificates.
KubeadmControlPlaneControlPlaneComponentsConnectionDownV1Beta2Reason surfaces that the connection to the workload cluster is down.
KubeadmControlPlaneControlPlaneComponentsHealthUnknownV1Beta2Reason surfaces when the health status of the Kubernetes control plane components hosted on KubeadmControlPlane machines is unknown.
KubeadmControlPlaneControlPlaneComponentsHealthyV1Beta2Condition surfaces issues to Kubernetes control plane components hosted on machines managed by this object.
KubeadmControlPlaneControlPlaneComponentsHealthyV1Beta2Reason surfaces when the Kubernetes control plane components hosted on KubeadmControlPlane machines are healthy.
KubeadmControlPlaneControlPlaneComponentsInspectionFailedV1Beta2Reason documents a failure when inspecting the status of the control plane components hosted on KubeadmControlPlane controlled machines.
KubeadmControlPlaneControlPlaneComponentsNotHealthyV1Beta2Reason surfaces when the Kubernetes control plane components hosted on KubeadmControlPlane machines are not healthy.
KubeadmControlPlaneDeletingDeletionCompletedV1Beta2Reason surfaces when the KCP deletion has been completed.
KubeadmControlPlaneDeletingInternalErrorV1Beta2Reason surfaces unexpected failures when deleting a KCP object.
KubeadmControlPlaneDeletingV1Beta2Condition surfaces details about ongoing deletion of the controlled machines.
KubeadmControlPlaneDeletingWaitingForMachineDeletionV1Beta2Reason surfaces when the KCP deletion waits for the control plane Machines to be deleted.
KubeadmControlPlaneDeletingWaitingForWorkersDeletionV1Beta2Reason surfaces when the KCP deletion waits for the workers to be deleted.
KubeadmControlPlaneEtcdClusterConnectionDownV1Beta2Reason surfaces that the connection to the workload cluster is down.
KubeadmControlPlaneEtcdClusterHealthUnknownV1Beta2Reason surfaces when the health status of the etcd cluster hosted on KubeadmControlPlane machines is unknown.
KubeadmControlPlaneEtcdClusterHealthyV1Beta2Condition surfaces issues to etcd cluster hosted on machines managed by this object.
KubeadmControlPlaneEtcdClusterHealthyV1Beta2Reason surfaces when the etcd cluster hosted on KubeadmControlPlane machines is healthy.
KubeadmControlPlaneEtcdClusterInspectionFailedV1Beta2Reason documents a failure when inspecting the status of the etcd cluster hosted on KubeadmControlPlane controlled machines.
KubeadmControlPlaneEtcdClusterNotHealthyV1Beta2Reason surfaces when the etcd cluster hosted on KubeadmControlPlane machines is not healthy.
KubeadmControlPlaneFinalizer is the finalizer applied to KubeadmControlPlane resources by its managing controller.
KubeadmControlPlaneInitializedV1Beta2Condition is true when the control plane is functional enough to accept requests.
KubeadmControlPlaneInitializedV1Beta2Reason surfaces when the control plane is initialized.
KubeadmControlPlaneMachineAPIServerPodHealthyV1Beta2Condition surfaces the status of the API server pod hosted on a KubeadmControlPlane controlled machine.
KubeadmControlPlaneMachineCannotBeRemediatedV1Beta2Reason surfaces when remediation of a control plane machine can't be started.
KubeadmControlPlaneMachineControllerManagerPodHealthyV1Beta2Condition surfaces the status of the controller manager pod hosted on a KubeadmControlPlane controlled machine.
KubeadmControlPlaneMachineEtcdMemberConnectionDownV1Beta2Reason surfaces that the connection to the workload cluster is down.
KubeadmControlPlaneMachineEtcdMemberDeletingV1Beta2Reason surfaces when the machine hosting an etcd member is being deleted.
KubeadmControlPlaneMachineEtcdMemberHealthyV1Beta2Condition surfaces the status of the etcd member hosted on a KubeadmControlPlane controlled machine.
KubeadmControlPlaneMachineEtcdMemberHealthyV1Beta2Reason surfaces when the etcd member hosted on a KubeadmControlPlane controlled machine is healthy.
KubeadmControlPlaneMachineEtcdMemberInspectionFailedV1Beta2Reason documents a failure when inspecting the status of an etcd member hosted on a KubeadmControlPlane controlled machine.
KubeadmControlPlaneMachineEtcdMemberNotHealthyV1Beta2Reason surfaces when the etcd member hosted on a KubeadmControlPlane controlled machine is not healthy.
KubeadmControlPlaneMachineEtcdPodHealthyV1Beta2Condition surfaces the status of the etcd pod hosted on a KubeadmControlPlane controlled machine.
KubeadmControlPlaneMachinePodConnectionDownV1Beta2Reason surfaces that the connection to the workload cluster is down.
KubeadmControlPlaneMachinePodDeletingV1Beta2Reason surfaces when the machine hosting control plane components is being deleted.
KubeadmControlPlaneMachinePodDoesNotExistV1Beta2Reason surfaces a when a pod hosted on a KubeadmControlPlane controlled machine does not exist.
KubeadmControlPlaneMachinePodFailedV1Beta2Reason surfaces a when a pod hosted on a KubeadmControlPlane controlled machine failed during provisioning, e.g.
KubeadmControlPlaneMachinePodInspectionFailedV1Beta2Reason documents a failure when inspecting the status of a pod hosted on a KubeadmControlPlane controlled machine.
KubeadmControlPlaneMachinePodProvisioningV1Beta2Reason surfaces a pod hosted on a KubeadmControlPlane controlled machine waiting to be provisioned i.e., Pod is in "Pending" phase.
KubeadmControlPlaneMachinePodRunningV1Beta2Reason surfaces a pod hosted on a KubeadmControlPlane controlled machine that is running.
KubeadmControlPlaneMachineRemediationDeferredV1Beta2Reason surfaces when remediation of a control plane machine must be deferred.
KubeadmControlPlaneMachineRemediationInternalErrorV1Beta2Reason surfaces unexpected failures while remediating a control plane machine.
KubeadmControlPlaneMachineRemediationMachineDeletingV1Beta2Reason surfaces when remediation of a control plane machine has been completed by deleting the unhealthy machine.
KubeadmControlPlaneMachineSchedulerPodHealthyV1Beta2Condition surfaces the status of the scheduler pod hosted on a KubeadmControlPlane controlled machine.
KubeadmControlPlaneMachinesNotReadyV1Beta2Reason surfaces when at least one of the controlled machine's Ready conditions is false.
KubeadmControlPlaneMachinesNotUpToDateV1Beta2Reason surfaces when at least one of the controlled machine's UpToDate conditions is false.
KubeadmControlPlaneMachinesReadyInternalErrorV1Beta2Reason surfaces unexpected failures when computing the MachinesReady condition.
KubeadmControlPlaneMachinesReadyNoReplicasV1Beta2Reason surfaces when no machines exist for the KubeadmControlPlane.
KubeadmControlPlaneMachinesReadyUnknownV1Beta2Reason surfaces when at least one of the controlled machine's Ready conditions is unknown and no one of the controlled machine's Ready conditions is false.
KubeadmControlPlaneMachinesReadyV1Beta2Condition surfaces detail of issues on the controlled machines, if any.
KubeadmControlPlaneMachinesReadyV1Beta2Reason surfaces when all the controlled machine's Ready conditions are true.
KubeadmControlPlaneMachinesUpToDateInternalErrorV1Beta2Reason surfaces unexpected failures when computing the MachinesUpToDate condition.
KubeadmControlPlaneMachinesUpToDateNoReplicasV1Beta2Reason surfaces when no machines exist for the KubeadmControlPlane.
KubeadmControlPlaneMachinesUpToDateUnknownV1Beta2Reason surfaces when at least one of the controlled machine's UpToDate conditions is unknown and no one of the controlled machine's UpToDate conditions is false.
KubeadmControlPlaneMachinesUpToDateV1Beta2Condition surfaces details of controlled machines not up to date, if any.
KubeadmControlPlaneMachinesUpToDateV1Beta2Reason surfaces when all the controlled machine's UpToDate conditions are true.
KubeadmControlPlaneNotAvailableV1Beta2Reason surfaces when the KubeadmControlPlane is not available.
KubeadmControlPlaneNotDeletingV1Beta2Reason surfaces when the KCP is not deleting because the DeletionTimestamp is not set.
KubeadmControlPlaneNotInitializedV1Beta2Reason surfaces when the control plane is not initialized.
KubeadmControlPlaneNotRemediatingV1Beta2Reason surfaces when the KubeadmControlPlane does not have any machine with HealthCheckSucceeded set to false and with the OwnerRemediated condition set to false.
KubeadmControlPlaneNotRollingOutV1Beta2Reason surfaces when all the machines are up-to-date.
KubeadmControlPlaneNotScalingDownV1Beta2Reason surfaces when actual replicas <= desired replicas.
KubeadmControlPlaneNotScalingUpV1Beta2Reason surfaces when actual replicas >= desired replicas.
KubeadmControlPlaneRemediatingInternalErrorV1Beta2Reason surfaces unexpected failures when computing the Remediating condition.
KubeadmControlPlaneRemediatingV1Beta2Condition surfaces details about ongoing remediation of the controlled machines, if any.
KubeadmControlPlaneRemediatingV1Beta2Reason surfaces when the KubeadmControlPlane has at least one machine with HealthCheckSucceeded set to false and with the OwnerRemediated condition set to false.
KubeadmControlPlaneRollingOutV1Beta2Condition is true if there is at least one machine not up-to-date.
KubeadmControlPlaneRollingOutV1Beta2Reason surfaces when there is at least one machine not up-to-date.
KubeadmControlPlaneScalingDownV1Beta2Condition is true if actual replicas > desired replicas.
KubeadmControlPlaneScalingDownV1Beta2Reason surfaces when actual replicas > desired replicas.
KubeadmControlPlaneScalingDownWaitingForReplicasSetV1Beta2Reason surfaces when the .spec.replicas field of the KubeadmControlPlane is not set.
KubeadmControlPlaneScalingUpV1Beta2Condition is true if actual replicas < desired replicas.
KubeadmControlPlaneScalingUpV1Beta2Reason surfaces when actual replicas < desired replicas.
KubeadmControlPlaneScalingUpWaitingForReplicasSetV1Beta2Reason surfaces when the .spec.replicas field of the KubeadmControlPlane is not set.
MachineAPIServerPodHealthyCondition reports a machine's kube-apiserver's operational status.
MachineControllerManagerPodHealthyCondition reports a machine's kube-controller-manager's health status.
MachineEtcdMemberHealthyCondition report the machine's etcd member's health status.
MachineEtcdPodHealthyCondition reports a machine's etcd pod's operational status.
MachineGenerationFailedReason (Severity=Error) documents a KubeadmControlPlane failing to generate a machine object.
MachineSchedulerPodHealthyCondition reports a machine's kube-scheduler's operational status.
MachinesCreatedCondition documents that the machines controlled by the KubeadmControlPlane are created.
MachinesReadyCondition reports an aggregate of current status of the machines controlled by the KubeadmControlPlane.
MachinesSpecUpToDateCondition documents that the spec of the machines controlled by the KubeadmControlPlane is up to date.
PodFailedReason (Severity=Error) documents if a pod failed during provisioning i.e., e.g CrashLoopbackOff, ImagePullBackOff or if all the containers in a pod have terminated.
PodInspectionFailedReason documents a failure in inspecting the pod status.
PodMissingReason (Severity=Error) documents a pod does not exist.
PodProvisioningReason (Severity=Info) documents a pod waiting to be provisioned i.e., Pod is in "Pending" phase.
PreTerminateHookCleanupAnnotation is the annotation KCP sets on Machines to ensure it can later remove the etcd member right before Machine termination (i.e.
RemediationForAnnotation is used to link a new machine to the unhealthy machine it is replacing; please note that in case of retry, when also the remediating machine fails, the system keeps track of the first machine of the sequence only.
RemediationInProgressAnnotation is used to keep track that a KCP remediation is in progress, and more specifically it tracks that the system is in between having deleted an unhealthy machine and recreating its replacement.
ResizedCondition documents a KubeadmControlPlane that is resizing the set of controlled machines.
RollingUpdateInProgressReason (Severity=Warning) documents a KubeadmControlPlane object executing a rolling upgrade for aligning the machines spec to the desired state.
RollingUpdateStrategyType replaces the old control planes by new one using rolling update i.e.
ScalingDownReason (Severity=Info) documents a KubeadmControlPlane that is decreasing the number of replicas.
ScalingUpReason (Severity=Info) documents a KubeadmControlPlane that is increasing the number of replicas.
SkipCoreDNSAnnotation annotation explicitly skips reconciling CoreDNS if set.
SkipKubeProxyAnnotation annotation explicitly skips reconciling kube-proxy if set.
WaitingForKubeadmInitReason (Severity=Info) documents a KubeadmControlPlane object waiting for the first control plane instance to complete the kubeadm init operation.
# Variables
AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
# Structs
KubeadmControlPlane is the Schema for the KubeadmControlPlane API.
KubeadmControlPlaneList contains a list of KubeadmControlPlane.
KubeadmControlPlaneMachineTemplate defines the template for Machines in a KubeadmControlPlane object.
KubeadmControlPlaneSpec defines the desired state of KubeadmControlPlane.
KubeadmControlPlaneStatus defines the observed state of KubeadmControlPlane.
KubeadmControlPlaneTemplate is the Schema for the kubeadmcontrolplanetemplates API.
KubeadmControlPlaneTemplateList contains a list of KubeadmControlPlaneTemplate.
KubeadmControlPlaneTemplateMachineTemplate defines the template for Machines in a KubeadmControlPlaneTemplate object.
KubeadmControlPlaneTemplateResource describes the data needed to create a KubeadmControlPlane from a template.
KubeadmControlPlaneTemplateResourceSpec defines the desired state of KubeadmControlPlane.
KubeadmControlPlaneTemplateSpec defines the desired state of KubeadmControlPlaneTemplate.
KubeadmControlPlaneV1Beta2Status Groups all the fields that will be added or modified in KubeadmControlPlane with the V1Beta2 version.
LastRemediationStatus stores info about last remediation performed.
MachineNamingStrategy allows changing the naming pattern used when creating Machines.
RemediationStrategy allows to define how control plane machine remediation happens.
RollingUpdate is used to control the desired behavior of rolling update.
RolloutBefore describes when a rollout should be performed on the KCP machines.
RolloutStrategy describes how to replace existing machines with new ones.
# Type aliases
RolloutStrategyType defines the rollout strategies for a KubeadmControlPlane.