Package io.quarkus.kubernetes.deployment
Class CronJobConfig
java.lang.Object
io.quarkus.kubernetes.deployment.CronJobConfig
-
Field Summary
FieldsModifier and TypeFieldDescriptionSpecifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer.Specifies the number of retries before marking this job failed.(package private) io.dekorate.kubernetes.annotation.JobCompletionModeCompletionMode specifies how Pod completions are tracked.Specifies the desired number of successfully finished pods the job should be run with.(package private) io.dekorate.kubernetes.annotation.CronJobConcurrencyPolicyConcurrencyPolicy describes how the job will be handled.The number of failed finished jobs to retain.Specifies the maximum desired number of pods the job should run at any given time.(package private) io.dekorate.kubernetes.annotation.JobRestartPolicyRestart policy when the job container fails.The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron.Deadline in seconds for starting the job if it misses scheduled time for any reason.The number of successful finished jobs to retain.(package private) booleanSuspend specifies whether the Job controller should create Pods or not.Limits the lifetime of a Job that has finished execution (either Complete or Failed). -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
schedule
The schedule in Cron format, see https://en.wikipedia.org/wiki/Cron. -
concurrencyPolicy
@ConfigItem(defaultValue="Allow") io.dekorate.kubernetes.annotation.CronJobConcurrencyPolicy concurrencyPolicyConcurrencyPolicy describes how the job will be handled. -
startingDeadlineSeconds
Deadline in seconds for starting the job if it misses scheduled time for any reason. Missed jobs executions will be counted as failed ones. -
failedJobsHistoryLimit
The number of failed finished jobs to retain. The default value is 1. -
successfulJobsHistoryLimit
The number of successful finished jobs to retain. The default value is 3. -
parallelism
Specifies the maximum desired number of pods the job should run at any given time. -
completions
Specifies the desired number of successfully finished pods the job should be run with. -
completionMode
@ConfigItem(defaultValue="NonIndexed") io.dekorate.kubernetes.annotation.JobCompletionMode completionModeCompletionMode specifies how Pod completions are tracked. -
backoffLimit
Specifies the number of retries before marking this job failed. -
activeDeadlineSeconds
Specifies the duration in seconds relative to the startTime that the job may be continuously active before the system tries to terminate it; value must be positive integer. -
ttlSecondsAfterFinished
Limits the lifetime of a Job that has finished execution (either Complete or Failed). If this field is set, ttlSecondsAfterFinished after the Job finishes, it is eligible to be automatically deleted. -
suspend
@ConfigItem(defaultValue="false") boolean suspendSuspend specifies whether the Job controller should create Pods or not. -
restartPolicy
@ConfigItem(defaultValue="OnFailure") io.dekorate.kubernetes.annotation.JobRestartPolicy restartPolicyRestart policy when the job container fails.
-
-
Constructor Details
-
CronJobConfig
public CronJobConfig()
-