TECHNOLOGY

Argo template defaults use strategic merge semantics

In this article
THE QUICK TAKE

Inspect effective runtime values and the specific list field’s merge tags before explaining how shared defaults combine with a template.

Trace the setting that actually reaches execution

A research workflow shares timeout and retry defaults across extraction templates, while one expensive analysis needs a different value. Argo’s template-defaults guide applies shared values during runtime. A local template value takes precedence over the corresponding default. The small block checked into the application is therefore not necessarily the complete configuration used by a submitted task.

Distinguish controller defaults from template defaults

The default-workflow guide allows controller configuration to supply workflow defaults, with explicit workflow values taking precedence. Template defaults can themselves be supplied through that arrangement. Inspect the shared configuration applicable to the workflow before explaining an inherited timeout or cleanup policy. A locally absent field can be deliberately supplied by a broader configuration owner rather than by an undocumented behavior inside the extraction tool.

Read list semantics from the field definition

The template guide specifies Kubernetes strategic merge rather than a universal list rule. It directs readers to patchStrategy and patchMergeKey tags in the workflow type definition. Some named lists merge by their defined keys. Do not assume all lists concatenate, or that every locally provided list replaces the inherited one. The actual field metadata determines the relevant combination behavior.

Review a concrete resource configuration

When a template adds a volume or sidecar to shared defaults, inspect the exact field and its merge key. Determine whether matching names update an existing item or whether the intended item remains separate under that field’s rules. Progressive reading helps connect the default block, explicit template and schema. This is especially useful when an inherited helper or mount appears in a running task despite not being written beside the task’s local command.

Preserve the effective values for explanation

Record the applied default sources and explicit overrides that matter to the research operation. Tool observations can associate them with the executed template. A useful configuration review explains where a value originated and how the relevant merge produced it. It does not treat the authored YAML alone as the whole execution contract or infer every list’s behavior from a successful example involving a different field.

Earn rental income from GPUs

Have idle GPUs or looking to fund AI infrastructure? Retrivium finds a rental platform, sets up the server and helps you assess income and costs with a pilot.

Explore GPU hosting
← All articles