# Functions
Resource takes an unqualified resource and returns a Group qualified GroupResource.
# Constants
AllowConcurrent allows CronJobs to run concurrently.
ControllerUid is used to programatically get pods corresponding to a Job.
CronJobScheduledTimestampAnnotation is the scheduled timestamp annotation for the Job.
Failed means to wait until a previously created Pod is fully terminated (has phase Failed or Succeeded) before creating a replacement Pod.
ForbidConcurrent forbids concurrent runs, skipping next run if previous hasn't finished yet.
GroupName is the group name use in this package.
IndexedCompletion is a Job completion mode.
JobComplete means the job has completed its execution.
No description provided by the author
JobControllerName reserved value for the managedBy field for the built-in Job controller.
JobFailed means the job has failed its execution.
FailureTarget means the job is about to fail its execution.
Annotation indicating the number of failures for the index corresponding to the pod, which are counted towards the backoff limit.
Annotation indicating the number of failures for the index corresponding to the pod, which don't count towards the backoff limit, according to the pod failure policy.
The Job labels will use batch.kubernetes.io as a prefix for all labels Historically the job controller uses unprefixed labels for job-name and controller-uid and Kubernetes continutes to recognize those unprefixed labels for consistency.
JobReasonBackOffLimitExceeded reason indicates that pods within a job have failed a number of times higher than backOffLimit times.
JobReasonCompletionsReached reason indicates a SuccessCriteriaMet condition is added due to a number of succeeded Job pods met completions.
JobReasponDeadlineExceeded means job duration is past ActiveDeadline.
JobReasonFailedIndexes means Job has failed indexes.
JobReasonMaxFailedIndexesExceeded indicates that an indexed of a job failed This const is used in beta-level feature: https://kep.k8s.io/3850.
JobReasonPodFailurePolicy reason indicates a job failure condition is added due to a failed pod matching a pod failure policy rule https://kep.k8s.io/3329.
JobReasonSuccessPolicy reason indicates a SuccessCriteriaMet condition is added due to a Job met successPolicy.
JobSuccessCriteriaMet means the Job has been succeeded.
JobSuspended means the job has been suspended.
JobTrackingFinalizer is a finalizer for Job's pods.
NonIndexedCompletion is a Job completion mode.
This is an action which might be taken on a pod failure - the pod failure is handled in the default way - the counter towards .backoffLimit, represented by the job's .status.failed field, is incremented.
This is an action which might be taken on a pod failure - mark the Job's index as failed to avoid restarts within this index.
This is an action which might be taken on a pod failure - mark the pod's job as Failed and terminate all running pods.
This is an action which might be taken on a pod failure - the counter towards .backoffLimit, represented by the job's .status.failed field, is not incremented and a replacement pod is created.
No description provided by the author
No description provided by the author
ReplaceConcurrent cancels currently running job and replaces it with a new one.
TerminatingOrFailed means that we recreate pods when they are terminating (has a metadata.deletionTimestamp) or failed.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
TODO: move SchemeBuilder with zz_generated.deepcopy.go to k8s.io/api.
SchemeGroupVersion is group version used to register these objects.
# Structs
CronJob represents the configuration of a single cron job.
CronJobList is a collection of cron jobs.
CronJobSpec describes how the job execution will look like and when it will actually run.
CronJobStatus represents the current state of a cron job.
Job represents the configuration of a single job.
JobCondition describes current state of a job.
JobList is a collection of jobs.
JobSpec describes how the job execution will look like.
JobStatus represents the current state of a Job.
JobTemplateSpec describes the data a Job should have when created from a template.
PodFailurePolicy describes how failed pods influence the backoffLimit.
PodFailurePolicyOnExitCodesRequirement describes the requirement for handling a failed pod based on its container exit codes.
PodFailurePolicyOnPodConditionsPattern describes a pattern for matching an actual pod condition type.
PodFailurePolicyRule describes how a pod failure is handled when the requirements are met.
SuccessPolicy describes when a Job can be declared as succeeded based on the success of some indexes.
SuccessPolicyRule describes rule for declaring a Job as succeeded.
UncountedTerminatedPods holds UIDs of Pods that have terminated but haven't been accounted in Job status counters.
# Type aliases
CompletionMode specifies how Pod completions of a Job are tracked.
ConcurrencyPolicy describes how the job will be handled.
No description provided by the author
PodFailurePolicyAction specifies how a Pod failure is handled.
+enum.
PodReplacementPolicy specifies the policy for creating pod replacements.