Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Events

Every reason CAPTF’s manager and runner record as a Kubernetes Event (kubectl get events or kubectl describe), its type, which object kind it is emitted on, and what it means. See Observability for how to watch them.

Manager events

Emitted by the manager’s reconcilers through the events.k8s.io/v1 recorder, at most once per transition or occurrence.

ReasonTypeEmitted onMeaning
CapacityResolvedNormalTerraformMachineTemplateA TerraformMachineTemplate’s capacity or nodeInfo changed from its image labels.
ConditionChangedNormal or WarningTerraformCluster, TerraformMachine, TerraformMachinePoolAny other owned condition changed status or reason; Normal into its good or an informational state, Warning into its bad state.
ControlPlaneEndpointSetNormalTerraformClusterA TerraformCluster’s spec.controlPlaneEndpoint was written from the module output.
DeletionStartedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolThe first reconcile with a deletionTimestamp.
DestroyedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolThe destroy succeeded and cleanup ran.
DestructivePlanApprovalConsumedNormalTerraformClusterThe approved destructive apply succeeded and its approval annotation was removed.
DestructivePlanBlockedWarningTerraformClusterA TerraformCluster apply stopped before a plan that deletes or replaces resources; once per blocked Job, in place of JobFailed.
DigestPinnedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolAn image digest was recorded on the durable inputs Secret, or re-pinned after an apply of a mutable kind.
DigestUnknownWarningTerraformCluster, TerraformMachine, TerraformMachinePoolNo digest could be pinned, or an operation runs the spec reference for lack of one.
DriftDetectedWarningTerraformCluster, TerraformMachine, TerraformMachinePoolA drift check found a difference.
DriftRemediationStartedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolAn apply remediating drift started.
DriftResolvedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolDriftDetected went from True to False.
FailureDomainsChangedNormalTerraformClusterA TerraformCluster’s status.failureDomains changed.
FinalizerRemovedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolThe finalizer was removed; the object goes.
ForceUnlockedWarningTerraformCluster, TerraformMachine, TerraformMachinePoolA stale state lock was force-unlocked.
IdentityNotAllowedWarningTerraformCluster, TerraformMachine, TerraformMachinePoolThe identity does not allow the namespace.
IdentitySecretFoundNormalTerraformClusterIdentityA TerraformClusterIdentity’s credentials Secret appeared.
IdentitySecretNotFoundWarningTerraformClusterIdentityA TerraformClusterIdentity’s credentials Secret went missing.
ImageInspectFailedWarningTerraformMachineTemplateThe registry could not be read for capacity.
InputsChangedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolThe inputs hash differs from the state’s and an apply of the new inputs starts.
InstanceHealthyNormalTerraformCluster, TerraformMachine, TerraformMachinePoolInfrastructureHealthy became True.
InstanceUnhealthyWarningTerraformCluster, TerraformMachine, TerraformMachinePoolInfrastructureHealthy became False for an unhealthy, degraded, stopped or terminated instance.
JobCreatedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolA Job was started (op, attempt, image, why).
JobDeadlineExceededWarningTerraformCluster, TerraformMachine, TerraformMachinePoolA Job hit activeDeadlineSeconds.
JobFailedWarningTerraformCluster, TerraformMachine, TerraformMachinePoolA Job failed, or an apply or destroy could not start (ApplyJobSucceeded False without a Job).
JobInterruptedWarningTerraformCluster, TerraformMachine, TerraformMachinePoolA Job was stopped from outside (a drain, eviction or deletion); it is retried without backoff.
JobSucceededNormalTerraformCluster, TerraformMachine, TerraformMachinePoolAn apply, destroy, refresh or drift Job succeeded.
MirrorCreatedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolThe credential mirror of the namespace was created on behalf of this object.
MirrorRemovedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolThe credential mirror of the namespace was deleted on behalf of this object.
OutputsInvalidWarningTerraformCluster, TerraformMachine, TerraformMachinePoolThe module’s outputs broke the contract.
PausedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolThe Paused condition changed to True; reconciliation stops starting Jobs.
PlanAppliedNormalTerraformClusterThe approved plan was applied and its approval annotation removed.
PlanApprovedNormalTerraformClusterThe apply of an approved plan started.
PlanChangedWarningTerraformClusterAn approved apply planned other changes and stopped before applying them; once per such Job.
PlanReadyNormalTerraformClusterA plan Job planned a TerraformCluster’s change under applyPolicy Manual (counts, plan hash, the approve command); once per plan Job.
ProviderIDSetNormalTerraformMachine, TerraformMachinePoolA TerraformMachine’s or TerraformMachinePool’s spec.providerID was written (a pool’s may change).
ProvisionedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolProvisioned latched true.
RemediationRequestedWarningTerraformMachineThe owner Machine was annotated with cluster.x-k8s.io/remediate-machine.
RemediationWithdrawnNormalTerraformMachineThe instance read Healthy again and the annotation CAPTF set was removed from the owner Machine.
ReplicasWrittenBackNormalTerraformMachinePoolAn autoscaled pool’s observed replicas output was patched onto MachinePool.spec.replicas (“X → Y”).
ResumedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolThe Paused condition changed to False after being True; reconciliation resumes.
StateAdoptedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolThe state written by a successful apply was adopted with its new inputs hash.
StateBackedUpNormalTerraformCluster, TerraformMachine, TerraformMachinePoolA new state serial was copied into a backup (once per backup).
StateLockedWarningTerraformCluster, TerraformMachine, TerraformMachinePoolThe state lock is held by something else (StateReadable False/StateLocked).
StateLostWarningTerraformCluster, TerraformMachine, TerraformMachinePoolA provisioned object’s state is gone or carries no inputs hash (StateReadable False/StateLost).
StateRestoreFailedWarningTerraformCluster, TerraformMachine, TerraformMachinePoolA restore Job failed; it is not retried for the same serial.
StateRestoredNormalTerraformCluster, TerraformMachine, TerraformMachinePoolA restore Job pushed a backup into the backend and the captf.io/restore-state annotation was removed.
StateUnreadableWarningTerraformCluster, TerraformMachine, TerraformMachinePoolThe state could not be read.
StuckJobDeletedWarningTerraformCluster, TerraformMachine, TerraformMachinePoolA Job that could never start (its per-run Secret is missing) was deleted to be started again.
WaitingForClusterOperationNormalTerraformMachine, TerraformMachinePoolA machine’s apply or destroy waits for its TerraformCluster’s apply or destroy.
WaitingForMachineOperationsNormalTerraformClusterA TerraformCluster’s apply or destroy waits for its machines’ applies and destroys in flight.
WaitingForRunLeaseNormalTerraformCluster, TerraformMachine, TerraformMachinePoolAn operation waits because another live Job holds the object’s run lease.

Runner events

Emitted only when the manager runs with --runner-events (its default is true): each Job’s runner posts its own progress as Events on the object the Job is for, related to the Job itself. Emission is best effort and never fails or slows the run.

ReasonTypeEmitted onMeaning
PlanSummaryNormalTerraformCluster, TerraformMachine, TerraformMachinePoolA plan the runner parsed (drift, or a guarded cluster apply): counts only.
ResourcesChangedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolWhat an apply or destroy step changed, from the runtime’s summary line: counts only.
RunFinishedNormal or WarningTerraformCluster, TerraformMachine, TerraformMachinePoolThe run ended (result, total duration).
RunStartedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolThe runtime is ready and the first step is about to run (op, image reference, runtime version).
StepFailedWarningTerraformCluster, TerraformMachine, TerraformMachinePoolA runtime step failed; the note carries the runner’s curated failure summary, never raw stderr.
StepStartedNormalTerraformCluster, TerraformMachine, TerraformMachinePoolA runtime step started.
StepSucceededNormalTerraformCluster, TerraformMachine, TerraformMachinePoolA runtime step finished successfully.