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

Latest commit

 

History

History
51 lines (44 loc) · 6.23 KB

WorkflowTemplateSpec.md

File metadata and controls

51 lines (44 loc) · 6.23 KB

WorkflowTemplateSpec

WorkflowTemplateSpec is a spec of WorkflowTemplate.

Properties

Name Type Description Notes
activeDeadlineSeconds Integer Optional duration in seconds relative to the workflow start time which the workflow is allowed to run before the controller terminates the A value of zero is used to terminate a Running workflow [optional]
affinity io.kubernetes.client.openapi.models.V1Affinity [optional]
arguments Arguments [optional]
artifactRepositoryRef ArtifactRepositoryRef [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]
dnsConfig io.kubernetes.client.openapi.models.V1PodDNSConfig [optional]
dnsPolicy String Set DNS policy for the pod. Defaults to "ClusterFirst". Valid values are 'ClusterFirstWithHostNet', 'ClusterFirst', 'Default' or 'None'. DNS parameters given in DNSConfig will be merged with the policy selected with DNSPolicy. To have DNS options set along with hostNetwork, you have to specify DNS policy explicitly to 'ClusterFirstWithHostNet'. [optional]
entrypoint String Entrypoint is a template reference to the starting point of the [optional]
executor ExecutorConfig [optional]
hostAliases List<io.kubernetes.client.openapi.models.V1HostAlias> [optional]
hostNetwork Boolean Host networking requested for this workflow pod. Default to false. [optional]
imagePullSecrets List<io.kubernetes.client.openapi.models.V1LocalObjectReference> ImagePullSecrets is a list of references to secrets in the same namespace to use for pulling any images in pods that reference this ServiceAccount. ImagePullSecrets are distinct from Secrets because Secrets can be mounted in the pod, but ImagePullSecrets are only accessed by the kubelet. More info: https://kubernetes.io/docs/concepts/containers/images/#specifying-imagepullsecrets-on-a-pod [optional]
metrics Metrics [optional]
nodeSelector Map<String, String> NodeSelector is a selector which will result in all pods of the workflow to be scheduled on the selected node(s). This is able to be overridden by a nodeSelector specified in the template. [optional]
onExit String OnExit is a template reference which is invoked at the end of the workflow, irrespective of the success, failure, or error of the primary [optional]
parallelism Integer Parallelism limits the max total parallel pods that can execute at the same time in a workflow [optional]
podDisruptionBudget IoK8sApiPolicyV1beta1PodDisruptionBudgetSpec [optional]
podGC PodGC [optional]
podMetadata Metadata [optional]
podPriority Integer Priority to apply to workflow pods. [optional]
podPriorityClassName String PriorityClassName to apply to workflow pods. [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 is used if controller is configured to process limited number of workflows in parallel. Workflows with higher priority are processed first. [optional]
retryStrategy RetryStrategy [optional]
schedulerName String Set scheduler name for all pods. Will be overridden if container/script template's scheduler name is set. Default scheduler will be used if neither specified. [optional]
securityContext io.kubernetes.client.openapi.models.V1PodSecurityContext [optional]
serviceAccountName String ServiceAccountName is the name of the ServiceAccount to run all pods of the workflow as. [optional]
shutdown String Shutdown will shutdown the workflow according to its ShutdownStrategy [optional]
suspend Boolean Suspend will suspend the workflow and prevent execution of any future steps in the workflow [optional]
synchronization Synchronization [optional]
templateDefaults Template [optional]
templates List<Template> Templates is a list of workflow templates used in a workflow [optional]
tolerations List<io.kubernetes.client.openapi.models.V1Toleration> Tolerations to apply to workflow pods. [optional]
ttlStrategy TTLStrategy [optional]
volumeClaimGC VolumeClaimGC [optional]
volumeClaimTemplates List<io.kubernetes.client.openapi.models.V1PersistentVolumeClaim> VolumeClaimTemplates is a list of claims that containers are allowed to reference. The Workflow controller will create the claims at the beginning of the workflow and delete the claims upon completion of the workflow [optional]
volumes List<io.kubernetes.client.openapi.models.V1Volume> Volumes is a list of volumes that can be mounted by containers in a [optional]
workflowMetadata io.kubernetes.client.openapi.models.V1ObjectMeta [optional]
workflowTemplateRef WorkflowTemplateRef [optional]