Job.Builder |
Job.Builder.activeDeadline(org.cdk8s.Duration activeDeadline) |
Specifies the duration the job may be active before the system tries to terminate it.
|
Job.Builder |
Job.Builder.backoffLimit(Number backoffLimit) |
Specifies the number of retries before marking this job failed.
|
Job.Builder |
Job.Builder.containers(List<? extends ContainerProps> containers) |
List of containers belonging to the pod.
|
static Job.Builder |
Job.Builder.create(software.constructs.Construct scope,
String id) |
|
Job.Builder |
Job.Builder.metadata(org.cdk8s.ApiObjectMetadata metadata) |
Metadata that all persisted resources must have, which includes all objects users must create.
|
Job.Builder |
Job.Builder.podMetadata(org.cdk8s.ApiObjectMetadata podMetadata) |
The pod metadata.
|
Job.Builder |
Job.Builder.restartPolicy(RestartPolicy restartPolicy) |
Restart policy for all containers within the pod.
|
Job.Builder |
Job.Builder.serviceAccount(IServiceAccount serviceAccount) |
A service account provides an identity for processes that run in a Pod.
|
Job.Builder |
Job.Builder.ttlAfterFinished(org.cdk8s.Duration ttlAfterFinished) |
Limits the lifetime of a Job that has finished execution (either Complete or Failed).
|
Job.Builder |
Job.Builder.volumes(List<? extends Volume> volumes) |
List of volumes that can be mounted by containers belonging to the pod.
|