KiteGitHub
Quickstart

Events

The Event reasons Kite writes, who writes each one, how long Events last, and the field selectors each API accepts.

Events tell you why a workload is pending, restarting, unhealthy, or unreachable. To see who changed an object, read the audit log instead.

Read events

kubectl get events --all-namespaces
kubectl get events --namespace default --field-selector=reason=FailedScheduling
kubectl get events --namespace default --watch

Filter events

A field selector uses the field names of the API that you call. The API serves v1 and events.k8s.io/v1 over the same stored Events, so you can write through one API and read through the other.

Fieldv1events.k8s.io/v1
Object (kind, name, namespace, uid, apiVersion)involvedObject.<field>regarding.<field>
Reportersource, reportingComponentreportingController, reportingInstance, action
Othermetadata.name, metadata.namespace, reason, typeSame as v1

Event reasons

ReasonTypeReporterWritten when
ScheduledNormaldefault-schedulerA Pod is assigned to a node
FailedSchedulingWarningdefault-schedulerNo node can accept a Pod
PreemptedNormaldefault-schedulerA Pod is removed for a higher-priority Pod
CreatedNormalkubeletA container is created
StartedNormalkubeletA container runs or has exited after running
FailedWarningkubeletA container cannot be created
KillingNormalkubeletThe node stops a container for a deleted Pod or a failed liveness probe, startup probe or postStart hook
BackOffWarningkubeletA container waits before its next restart, or restarts after a non-zero exit
UnhealthyWarningkubeletA startup, readiness, or liveness probe fails
ProbeWarningWarningkubeletA probe’s response is a redirect that it does not follow, such as one to another host
FailedMountWarningkubeletA Pod volume cannot be mounted
FailedKillPodWarningkubeletThe node cannot stop the containers or the sandbox of a Pod that is deleted or evicted
FailedPostStartHookWarningkubeletA container’s postStart hook fails, so the node stops the container
FailedPreStopHookWarningkubeletA container’s preStop hook fails, and the node stops the container anyway
LifecycleHTTPFallbackWarningkubeletAn HTTPS httpGet hook passes only when the node sends it again over HTTP
MissingJobNormalcronjob-controllerAn active Job for a CronJob disappears
SawCompletedJobNormalcronjob-controllerA Job that a CronJob started completes or fails
JobAlreadyActiveNormalcronjob-controllerA CronJob with concurrencyPolicy: Forbid skips a run because its last Job still runs
CompletedNormaljob-controllerA Job completes
BackoffLimitExceededWarningjob-controllerA Job fails because its Pods failed more times than backoffLimit
DeadlineExceededWarningjob-controllerA Job fails because it ran longer than activeDeadlineSeconds
PodFailurePolicyWarningjob-controllerA Job fails because a failed Pod matches a FailJob rule
FailedIndexesWarningjob-controllerAn Indexed Job with backoffLimitPerIndex fails because an index failed
MaxFailedIndexesExceededWarningjob-controllerAn Indexed Job fails because more indexes failed than maxFailedIndexes
TooManySucceededPodsWarningjob-controllerA Job completes with more succeeded Pods than completions
SuspendedNormaljob-controllerA Job is suspended
ResumedNormaljob-controllerA suspended Job resumes
SuccessfulCreateNormal<kind>-controllerA workload’s controller creates a Pod, a CronJob creates a Job, or a StatefulSet creates a member’s claim
FailedCreateWarning<kind>-controllerA workload’s Pod is refused on create
SuccessfulDeleteNormal<kind>-controllerA workload’s controller deletes one of its Pods, or a CronJob deletes one of its Jobs
FailedDeleteWarning<kind>-controllerAdmission refuses a workload controller’s delete of its Pod
ScalingReplicaSetNormaldeployment-controllerA Deployment changes the replica count of one of its ReplicaSets
ReplicaSetCreateErrorWarningdeployment-controllerAdmission or a ResourceQuota refuses the create of a Deployment’s ReplicaSet
SuccessfulRescaleNormalhorizontal-pod-autoscalerA HorizontalPodAutoscaler changes its target’s replica count
NodeReadyNormalnode-controllerA disconnected node’s agent connects again, or its host cancels a shutdown
NodeNotReadyNormalnode-controllerA node’s agent disconnects, or its host starts to shut down
TaintManagerEvictionNormaltaint-eviction-controllerA Pod is marked for deletion by a NoExecute taint, or the deletion is cancelled
CSITopologyRefusedWarningkubeletA node’s CSI driver reports topology labels the node may not set
BindingConditionsPendingNormaldefault-schedulerA Pod waits for its devices’ binding conditions before it is bound
DeviceTaintManagerEvictionNormaldevice-taint-eviction-controllerA Pod is marked for deletion by a NoExecute device taint, or the deletion is cancelled

Node pool reasons

The node pool controller writes these Events with the reporter nodepool-controller, in the default namespace, except NoNodePoolFits, which it writes in the Pod’s namespace. When a call to the cloud provider fails, the controller retries it on its next reconcile.

ReasonTypeOnWritten when
FailedReconcileWarningNodeClaimThe controller cannot advance the NodeClaim
FailedDeleteWarningNodeThe provider cannot delete the Node’s machine
DisruptingNormalNodeThe controller deletes the node’s NodeClaim
ReplacingNormalNodeThe node no longer matches its class (it drifted), and the controller waits for a new machine for its pods before it drains the node. See Class changes.
DrainingNormalNodeThe controller cordons the node and evicts its pods
DrainGraceExpiredWarningNodeterminationGracePeriod runs out while pods are still on the node
DeletingMachineNormalNodeThe controller calls the provider to delete the machine
RemovingNodeNormalNodeThe provider no longer lists the machine, and the Node is deleted
NoNodePoolFitsWarningPodNo pool can ever make a machine that fits the Pod, and no Node fits it either. The message gives each pool’s reason.
RegistrationTimeoutWarningNodePoolA NodeClaim’s machine does not join before the pool’s registrationTimeout, and the controller deletes the claim and the machine. The message holds the last lines that the machine’s startup script printed to its console, or why the console could not be read.
MachinesUnlistedWarningNodePoolThe controller cannot list the pool’s machines, for example because a class’s credential no longer works. Until the list succeeds, the controller deletes none of those machines, and no NodeClaim or Node whose machine is gone.
DisruptionBlockedNormalNodePoolA disruption budget keeps consolidation or drift from removing another node. See Disruption budgets.
DisruptionBlockedNormalNodeThe Node, or a pod on it, has kiteplane.dev/do-not-disrupt or karpenter.sh/do-not-disrupt, so neither consolidation nor drift removes the node. See Keep a node.
UnreachableDeletionPausedWarningNodePoolToo many of the cluster’s nodes are unreachable, so the pool stops deleting unreachable nodes. See Capacity refusals.

Tunnel reasons

The tunnel controller writes these Warnings with the reporter cloudflare.com/tunnel. CredentialsUnusable, TunnelUnavailable and TeardownAbandoned refer to the IngressClass and are in the default namespace. The rest refer to the Ingress or the Service.

ReasonWritten when
UnsupportedA tunnel configuration has an unsupported backend or protocol
UnsupportedProtocolA Service has no HTTP port, and a port sets appProtocol: kubernetes.io/h2c
NoHostnameA LoadBalancer Service has no cloudflare.com/hostname annotation
NoClusterIPA backing Service has no ClusterIP
ServiceNotFoundAn Ingress rule refers to a Service that does not exist
PortNotFoundA Service does not have the port that an Ingress rule refers to
AmbiguousPortA LoadBalancer Service has more than one HTTP port
HostnameInUseA DNS record that the controller did not create already uses the hostname
CredentialsUnusableThe class’s parameters, Secret, accountId, zoneId, or apiToken is missing
TunnelUnavailableThe controller cannot apply the tunnel, or a retry cannot remove a tunnel or DNS records that the class left
TeardownAbandonedCloudflare rejects the API token that made a tunnel or DNS records that the class left, so they may remain

Event updates

ReasonOne Event perUpdated whencount
Created, Started, Failed, BackOff, Unhealthy, ProbeWarningOccurrenceNever: each occurrence is a new Event1
FailedKillPodPod, while the node cannot stop itThe error changes1
KillingContainer, written as the node starts to stop it, before its preStop hook runsThe node stops the container for another reason, such as a failed liveness probe and then the Pod’s deletion1
FailedPostStartHook, FailedPreStopHookContainer, while the Event lasts, however often the hook fails—1
FailedSchedulingPod that keeps failing to scheduleAt once when the reason changes, otherwise at most once a minute, with the latest messageFailed attempts since the first. After a restart of the control plane, it can be lower than the real number.
FailedCreate for a missing ServiceAccount, RuntimeClass or PriorityClassWorkloadThe message changes1
FailedCreate for any other refusalWorkload, at most one each time its controller tries to create the workload’s PodsAs Rate limits saysEvents combined
FailedDeleteWorkload, for the first Pod that admission refuses each time the controller triesThe message changes1
ReplicaSetCreateErrorDeploymentThe message changes1
  • A FailedCreate Event carries the API server’s refusal of a workload’s Pod, in the words that Kubernetes uses. A missing ServiceAccount, RuntimeClass or PriorityClass is refused before the API server generates the Pod’s name, so the Event names the Pod by its prefix, such as web-. Any other refusal, such as a ResourceQuota’s, a LimitRange’s, Pod Security’s or a ValidatingAdmissionPolicy’s, names the Pod itself.
  • When admission or a ResourceQuota refuses the ReplicaSet for a Deployment’s template, the Deployment’s Progressing condition is False with the same reason and message as the ReplicaSetCreateError Event, unless the Deployment has no progress deadline. The controller tries the create again after a wait that doubles up to a minute.

Rate limits

The workload controllers limit their Events about one object as upstream’s do:

  • From the tenth Event with the same reason within 10 minutes, a controller updates one Event whose message starts with (combined from similar events):, and adds one to its count for each Event that it combines.
  • A controller writes at most 25 of these Events about an object at once, and one more every 5 minutes after that. The next Event that it writes counts the ones that it skipped.
  • A restart of the control plane starts the limits again.

So a ReplicaSet scaled to 1,000 Pods has ten SuccessfulCreate Events: one for each of the first nine Pods, and one combined Event.

Next