Patterns
Overview
Reusable design patterns for resilient automation.
Architecture Patterns
Fundamental patterns for building maintainable, scalable…
- Hub and Spoke — Centralized orchestration with distributed execution.
- Matrix Distribution — Parallelize operations across dynamic target lists…
- Separation of Concerns Pattern Overview — Single-responsibility components with clear boundaries.
- Strangler Fig — Incremental migration from legacy systems.
Argo Events
Build event-driven Kubernetes automation with Argo…
- Argo Events Setup Guide — Deploy event-driven automation with EventSource, EventBus…
- Event Routing — Control event flow from EventSources to…
- Reliability Patterns — Build resilient event systems with retry…
- Troubleshooting — Debug event flows systematically from EventSource…
Argo Workflows Patterns
Production Argo Workflows patterns: reusable templates…
- Concurrency Control — Prevent workflow conflicts with mutex synchronization…
- Scheduled Workflows — CronWorkflow patterns for scheduled automation: time-based…
- Workflow Composition — Build complex pipelines from reusable workflow…
- WorkflowTemplate Patterns — WorkflowTemplate foundations: versioned, reusable automation building…
Efficiency Patterns
Optimize automation with idempotency and work…
- Idempotency — Build automation that survives reruns.
- Implementation Patterns — Five idempotency patterns for automation: check-before-act…
- Tombstone/Marker Files — Leave markers indicating operations completed.
- Work Avoidance — Skip work when outcomes won't change.
- Work Avoidance Techniques — Layer work avoidance checks from existence…
Error Handling Patterns
Master when to fail fast vs…
- Fail Fast — Detect and halt on precondition failures…
- Graceful Degradation — Build tiered fallback systems that degrade…
- Prerequisite Checks — Consolidate all precondition validation into a…
Github Actions
- Actions Integration — Integrate GitHub Core Apps with Actions…
- Error Handling — Handle token failures, API rate limits…
- File Distribution — Automated file distribution across multiple repositories…
- Installation Token Generation — Generate short-lived installation tokens from GitHub…
- JWT Authentication — Generate JWTs for GitHub App authentication.
- Matrix Filtering and Deduplication — Reduce matrix builds from 47 jobs…
- OAuth User Authentication — OAuth flows for user-context operations.
- Token Lifecycle Management — Token expiration handling, refresh strategies, and…
- Work Avoidance in GitHub Actions — Skip unnecessary CI/CD operations before execution.
Reliability
- Chaos Engineering for Kubernetes — Chaos engineering for Kubernetes with Chaos…
- Chaos Experiment Design — Chaos experiment design methodology.
Security
- Secure-by-Design Pattern Library — Secure-by-design architecture patterns for Kubernetes.
Full Reference
Full text: reference.md. Raw sources: library/. Live: docs.