Argo Workflow Snippet Generator

Generate Argo Workflows YAML snippets: retryStrategy, resources, artifacts, loops, conditions, exit handlers, mutexes, semaphores, memoization, HTTP and script templates.. Free, no sign-up, and everything runs privately in your browser.

How to use the snippet generator

  1. Choose a snippet type such as retryStrategy, artifacts, loops or a mutex.
  2. Adjust the fields; the snippet updates instantly.
  3. Each snippet starts with a comment telling you where it belongs (template, step or spec level).
  4. Copy it into your manifest, then run the full file through the validator.

Snippet

Snippet

Snippets for the fields you look up most

Some Argo Workflows fields are used constantly but are hard to remember exactly: the shape of a retryStrategy backoff, the nesting of an S3 artifact, the plural mutexes list introduced in version 4.0, or the structure of a memoization cache. The snippet generator produces correctly nested YAML for sixteen of these patterns, each annotated with a comment saying where it belongs.

Where each snippet goes

  • Template level: retryStrategy, resources (inside the container), outputs, inputs, memoize, nodeSelector and tolerations.
  • Step or task level: loops and when conditions.
  • Workflow spec level: TTL, podGC, deadlines, synchronization, volumeClaimTemplates and onExit.
  • Templates list: exit handlers, approval gates, HTTP and script templates.

Frequently asked questions

Why does the mutex snippet use a list?

Version 4.0 removed the singular mutex and semaphore fields in favour of mutexes and semaphores, which also work on 3.6 and later.

Can I link to a specific snippet?

Yes — add ?type=retry (or another type key such as artifact, loop or sync) to the page URL.

How do I check the snippet in context?

Paste it into your manifest and run the file through the validator.

More free tools