Package io.quarkus.kubernetes.deployment
Interface JobConfig
public interface JobConfig
-
Method Summary
Modifier and TypeMethodDescriptionSpecifies 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.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.Specifies the maximum desired number of pods the job should run at any given time.io.dekorate.kubernetes.annotation.JobRestartPolicyRestart policy when the job container fails.booleansuspend()Suspend specifies whether the Job controller should create Pods or not.Limits the lifetime of a Job that has finished execution (either Complete or Failed).
-
Method Details
-
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
@WithDefault("NonIndexed") io.dekorate.kubernetes.annotation.JobCompletionMode completionMode()CompletionMode 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
@WithDefault("false") boolean suspend()Suspend specifies whether the Job controller should create Pods or not. -
restartPolicy
@WithDefault("OnFailure") io.dekorate.kubernetes.annotation.JobRestartPolicy restartPolicy()Restart policy when the job container fails.
-