package
0.2.0
Repository: https://github.com/canonical/cluster-api-k8s.git
Documentation: pkg.go.dev

# Constants

AvailableCondition documents that the first control plane instance has completed the server init operation and so the control plane is available and an API server instance is ready for processing requests.
CertificatesAvailableCondition documents that cluster certificates were generated as part of the processing of a CK8sControlPlane object.
CertificatesGenerationFailedReason (Severity=Warning) documents a CK8sControlPlane controller detecting an error while generating certificates; those kind of errors are usually temporary and the controller automatically recover from them.
No description provided by the author
CK8sServerConfigurationAnnotation is a machine annotation that stores the json-marshalled string of KCP ClusterConfiguration.
ControlPlaneComponentsHealthyCondition reports the overall status of the control plane.
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.
MachineAgentHealthyCondition reports a machine's operational status.
MachinesReady reports an aggregate of current status of the machines controlled by the CK8sControlPlane.
MachinesSpecUpToDateCondition documents that the spec of the machines controlled by the CK8sControlPlane 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.
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 CK8sControlPlane that is resizing the set of controlled machines.
RollingUpdateInProgressReason (Severity=Warning) documents a CK8sControlPlane object executing a rolling upgrade for aligning the machines spec to the desired state.
ScalingDownReason (Severity=Info) documents a CK8sControlPlane that is decreasing the number of replicas.
ScalingUpReason (Severity=Info) documents a CK8sControlPlane that is increasing the number of replicas.
TokenAvailableCondition documents whether the token required for nodes to join the cluster is available.
TokenGenerationFailedReason documents that the token required for nodes to join the cluster could not be generated.
WaitingForCK8sServerReason (Severity=Info) documents a CK8sControlPlane object waiting for the first control plane instance to complete the ck8s server operation.

# Variables

AddToScheme adds the types in this group-version to the given scheme.
GroupVersion is group version used to register these objects.
SchemeBuilder is used to add go types to the GroupVersionKind scheme.

# Structs

CK8sControlPlane is the Schema for the ck8scontrolplanes API.
CK8sControlPlaneList contains a list of CK8sControlPlane.
MachineTemplate contains information about how machines should be shaped when creating or updating a control plane.
CK8sControlPlaneSpec defines the desired state of CK8sControlPlane.
CK8sControlPlaneStatus defines the observed state of CK8sControlPlane.
CK8sControlPlaneTemplate is the Schema for the ck8scontrolplanetemplate API.
CK8sControlPlaneTemplateList contains a list of CK8sControlPlaneTemplate.
No description provided by the author
No description provided by the author
CK8sControlPlaneTemplateSpec defines the desired state of CK8sControlPlaneTemplateSpec.
LastRemediationStatus stores info about last remediation performed.
RemediationStrategy allows to define how control plane machine remediation happens.