apiVersion: v1 kind: ConfigMap metadata: name: workflow-controller-configmap namespace: argo data: # Parallelism limits the max total parallel workflows that can execute at the same time # (available since Argo v2.3). Controller must be restarted to take effect. parallelism: "20" # artifactRepository defines the default location to be used as the artifact repository for # container artifacts. # # https://github.com/argoproj/argo-workflows/blob/682755f16a7c4dcdde5ba02d4b71058fc42783a6/docs/workflow-controller-configmap.yaml#L98 # artifactRepository: |- # archiveLogs will archive the main container logs as an artifact archiveLogs: true gcs: bucket: edge-argo-logs # e.g.: argo/logs/2018/08/23/8baf78f8-4ee1-498d-8e23-6bb5916942d7/some-workflow-pod-abc123 keyFormat: "{{workflow.creationTimestamp.Y}}\ /{{workflow.creationTimestamp.m}}\ /{{workflow.creationTimestamp.d}}\ /{{workflow.uid}}\ /{{pod.name}}" # executor controls how the init and wait container should be customized # (available since Argo v2.3) # https://argoproj.github.io/argo-workflows/cost-optimisation/#configure-executor-resource-requests executor: | imagePullPolicy: IfNotPresent resources: requests: cpu: 1 memory: 64Mi ephemeral-storage: 1Gi limits: memory: 512Mi ephemeral-storage: 20Gi # Defaults for main containers. These can be overridden by the template. mainContainer: | imagePullPolicy: IfNotPresent resources: requests: cpu: 1 memory: 64Mi ephemeral-storage: 1Gi limits: memory: 512Mi ephemeral-storage: 20Gi # Limit the maximum number of incomplete workflows in a namespace. # Intended for cluster installs that are multi-tenancy environments, to prevent too many workflows in one # namespace impacting others. # >= v3.2 namespaceParallelism: "20" # Default values that will apply to all Workflows from this controller # can be overridden at the Workflow-level # https://argoproj.github.io/argo-workflows/cost-optimisation/#limit-the-total-number-of-workflows-and-pods workflowDefaults: |- metadata: annotations: argo: workflows spec: # must complete in 4h (14400s) activeDeadlineSeconds: 14400 # TODO: add podGC to auto delete ttlStrategy: # keep workflows for 1d (86,400 seconds) secondsAfterCompletion: 86400 VolumeClaimGC: strategy: OnWorkflowCompletion templateDefaults: timeout: 120m nodeSelector: disktype: "ssd" # schedule everything on the beefy nodes