Skip to content
This repository has been archived by the owner on Oct 26, 2021. It is now read-only.

Latest commit

 

History

History
49 lines (42 loc) · 4.96 KB

Template.md

File metadata and controls

49 lines (42 loc) · 4.96 KB

Template

Template is a reusable and composable unit of execution in a workflow

Properties

Name Type Description Notes
activeDeadlineSeconds String [optional]
affinity io.kubernetes.client.openapi.models.V1Affinity [optional]
archiveLocation ArtifactLocation [optional]
automountServiceAccountToken Boolean AutomountServiceAccountToken indicates whether a service account token should be automatically mounted in pods. ServiceAccountName of ExecutorConfig must be specified if this value is false. [optional]
container io.kubernetes.client.openapi.models.V1Container [optional]
containerSet ContainerSetTemplate [optional]
daemon Boolean Deamon will allow a workflow to proceed to the next step so long as the container reaches readiness [optional]
dag DAGTemplate [optional]
data Data [optional]
executor ExecutorConfig [optional]
failFast Boolean FailFast, if specified, will fail this template if any of its child pods has failed. This is useful for when this template is expanded with `withItems`, etc. [optional]
hostAliases List<io.kubernetes.client.openapi.models.V1HostAlias> HostAliases is an optional list of hosts and IPs that will be injected into the pod spec [optional]
initContainers List<UserContainer> InitContainers is a list of containers which run before the main container. [optional]
inputs Inputs [optional]
memoize Memoize [optional]
metadata Metadata [optional]
metrics Metrics [optional]
name String Name is the name of the template [optional]
nodeSelector Map<String, String> NodeSelector is a selector to schedule this step of the workflow to be run on the selected node(s). Overrides the selector set at the workflow level. [optional]
outputs Outputs [optional]
parallelism Integer Parallelism limits the max total parallel pods that can execute at the same time within the boundaries of this template invocation. If additional steps/dag templates are invoked, the pods created by those templates will not be counted towards this total. [optional]
podSpecPatch String PodSpecPatch holds strategic merge patch to apply against the pod spec. Allows parameterization of container fields which are not strings (e.g. resource limits). [optional]
priority Integer Priority to apply to workflow pods. [optional]
priorityClassName String PriorityClassName to apply to workflow pods. [optional]
resource ResourceTemplate [optional]
retryStrategy RetryStrategy [optional]
schedulerName String If specified, the pod will be dispatched by specified scheduler. Or it will be dispatched by workflow scope scheduler if specified. If neither specified, the pod will be dispatched by default scheduler. [optional]
script ScriptTemplate [optional]
securityContext io.kubernetes.client.openapi.models.V1PodSecurityContext [optional]
serviceAccountName String ServiceAccountName to apply to workflow pods [optional]
sidecars List<UserContainer> Sidecars is a list of containers which run alongside the main container Sidecars are automatically killed when the main container completes [optional]
steps List<ParallelSteps> Steps define a series of sequential/parallel workflow steps [optional]
suspend SuspendTemplate [optional]
synchronization Synchronization [optional]
timeout String Timout allows to set the total node execution timeout duration counting from the node's start time. This duration also includes time in which the node spends in Pending state. This duration may not be applied to Step or DAG templates. [optional]
tolerations List<io.kubernetes.client.openapi.models.V1Toleration> Tolerations to apply to workflow pods. [optional]
volumes List<io.kubernetes.client.openapi.models.V1Volume> Volumes is a list of volumes that can be mounted by containers in a template. [optional]