Production Argo Workflows patterns: reusable templates, error handling, concurrency control, composition, and scheduled automation for Kubernetes operators.
Production Argo Workflows patterns for Kubernetes operators. Use when building reusable templates, error handling, concurrency control, workflow composition, or scheduled automation.
/plugin marketplace add adaptive-enforcement-lab/claude-skills/plugin install patterns@ael-skillsThis skill inherits all available tools. When active, it can use any tool Claude has access to.
scripts/example-1.shtroubleshooting.mdProduction patterns for Argo Workflows: reusable templates, error handling, concurrency control, workflow composition, and scheduled automation.
Kubernetes provides primitives (Pods, Jobs, CronJobs), but building complex automation from primitives is painful. You end up with shell scripts that check Pod status in loops, cleanup logic scattered across multiple places, and debugging that requires correlating logs from dozens of sources.
Argo Workflows provides higher-level abstractions designed for automation. Define workflows declaratively. Let the controller handle scheduling, retries, and cleanup. Visualize execution in a purpose-built UI. Focus on what the automation does, not how to orchestrate it.
| Category | Description |
|---|---|
| WorkflowTemplate Patterns | Reusable workflow definitions with error handling, volumes, and RBAC |
| Concurrency Control | Mutex synchronization, semaphores, and TTL strategies |
| Workflow Composition | Parent/child workflows, orchestration, and cross-workflow communication |
| Scheduled Workflows | CronWorkflow patterns and GitHub integration |
kubectl describe rolebinding -n argo-workflowskubectl describe quota -n argo-workflowskubectl top nodeskubectl get workflows -l workflows.argoproj.io/sync-idkubectl auth can-i to test permissions:kubectl auth can-i patch deployments \
--as=system:serviceaccount:argo-workflows:my-sa \
-n target-namespace
kubectl get workflows -l workflows.argoproj.io/sync-idPrerequisites
Argo Workflows must be installed in your cluster. See the official installation guide for setup instructions.
See troubleshooting.md for common issues and solutions.