package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev

# Functions

Register registers Job controller metrics.

# Constants

Possible values for "event" label in the terminated_pods_tracking_finalizer metric.
JobControllerSubsystem - subsystem name used for this controller.
JobSyncActionPodsCreated when the controller creates Pods.
JobSyncActionPodsDeleted when the controller deletes Pods.
JobSyncActionReconciling when the Job's pod creation/deletion expectations are unsatisfied and the controller is waiting for issued Pod creation/deletions to complete.
JobSyncActionTracking when the Job's pod creation/deletion expectations are satisfied and the number of active Pods matches expectations (i.e.

# Variables

JobByExternalControllerTotal tracks the number of Jobs that were created as managed by an external controller.
JobFinishedIndexesTotal records the number of finished indexes.
JobFinishedNum tracks the number of Jobs that finish.
JobPodsCreationTotal records the number of pods created by the job controller based on the reason for their creation (i.e.
JobPodsFinished records the number of finished Pods that the job controller finished tracking.
JobSyncDurationSeconds tracks the latency of Job syncs.
JobSyncNum tracks the number of Job syncs.
PodFailuresHandledByFailurePolicy records the number of finished Pods handled by pod failure policy.
TerminatedPodsTrackingFinalizerTotal records the addition and removal of terminated pods that have the finalizer batch.kubernetes.io/job-tracking, regardless of whether they are owned by a Job.