Create a Job in a new Container for running an image.
Attributes
- apiVersion
API Version, Optional, defaults to batch/v1
- awaitCompletion
boolean flag which indicates whether control should await for the job's completion before returning
- command
Entrypoint array. Not executed within a shell. The container image's ENTRYPOINT is used if this is not provided. Optional
- container
Name of the Container, Optional, Defaults to Job Name
- debug
boolean flag which logs more details on some intermediary objects. Optional, defaults to false
- deletionGraceInSeconds
The duration in seconds before the Job should be deleted. Value must be non-negative integer. The value zero indicates delete immediately. Optional, defaults to 0
- deletionPolicy
The deletion policy for this Job. One of:
- etlflow.k8s.DeletionPolicy.OnComplete: Deletes the job when it completes, regardless for status
- etlflow.k8s.DeletionPolicy.OnSuccess: Deletes the Job only if it ran successfully
- etlflow.k8s.DeletionPolicy.OnFailure: Deletes the Job only if it failed
- etlflow.k8s.DeletionPolicy.Never: Does not delete the job if this is not etlflow.k8s.DeletionPolicy.Never, then control will wait for job completion, regardless of awaitCompletion
- envs
Environment Variables to set for the container. Optional
- image
image descriptor
- jobName
Name of the Job
- name
Name of this Task
- namespace
namespace, optional. Defaults to 'default'
- podRestartPolicy
Restart policy for the container. One of Always, OnFailure, Never. Default to Never. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#restart-policy
- pollingFrequencyInMillis
Duration(in milliseconds) to poll for status of the Job. Optional, only used when awaitCompletion is true or deletionPolicy is not etlflow.k8s.DeletionPolicy.Never
- showJobLogs
boolean flag which shows the logs from the submitted job.Optional, only used when awaitCompletion is true or deletionPolicy is not etlflow.k8s.DeletionPolicy.Never
- volumeMounts
Volumes to Mount into the Container. Optional. Map, with the first element identifying the path to mount inside the container, and the second the volume name. Optional
- Companion:
- object
- Graph
- Supertypes
- trait Serializabletrait Producttrait Equalstrait ApplicationLoggerclass Objecttrait Matchableclass Any