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
- Choose a snippet type such as retryStrategy, artifacts, loops or a mutex.
- Adjust the fields; the snippet updates instantly.
- Each snippet starts with a comment telling you where it belongs (template, step or spec level).
- 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
whenconditions. - 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
YAML Generator
Build a complete Workflow or WorkflowTemplate manifest from a simple form.
Template Builder
Assemble WorkflowTemplates and ClusterWorkflowTemplates from reusable steps.
CronWorkflow Generator
Generate CronWorkflows with schedules, timezones and next-run previews.
DAG Visualizer
Paste YAML and see your DAG or steps rendered as a graph.