administering-linux
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Implement GitOps continuous delivery for Kubernetes using ArgoCD or Flux. Use for automated deployments with Git as single source of truth, pull-based delivery, drift detection, multi-cluster management, and progressive rollouts.
$ npx -y skills add ancoleman/ai-design-components --skill implementing-gitops --agent claude-codeHow it fires
How this skill gets triggered: by you, by Claude, or both.
/implementing-gitopsContext preview
The summary Claude sees to decide when to auto-load this skill.
Implement GitOps continuous delivery for Kubernetes using ArgoCD or Flux. Use for automated deployments with Git as single source of truth, pull-based delivery, drift detection, multi-cluster management, and progressive rollouts.
name: implementing-gitops description: Implement GitOps continuous delivery for Kubernetes using ArgoCD or Flux. Use for automated deployments with Git as single source of truth, pull-based delivery, drift detection, multi-cluster management, and progressive rollouts.
Implement GitOps continuous delivery for Kubernetes using declarative, pull-based deployment models where Git serves as the single source of truth for infrastructure and application configuration.
Use GitOps workflows for:
Trigger keywords: "deploy to Kubernetes", "ArgoCD setup", "Flux bootstrap", "GitOps pipeline", "environment promotion", "multi-cluster deployment", "automated reconciliation"
All system configuration stored in Git repositories. No manual kubectl apply or cluster modifications. Declarative manifests (YAML) for all Kubernetes resources, environment-specific overlays, infrastructure configuration, and application deployments.
Operators running inside clusters pull changes from Git and apply them automatically. Benefits include no cluster credentials in CI/CD pipelines, support for air-gapped environments, self-healing through continuous reconciliation, and simplified CI/CD.
GitOps operators continuously compare actual cluster state with desired state in Git and reconcile differences through a continuous loop: watch Git, compare live state, apply differences, report status, repeat.
Use declarative Kubernetes manifests (not imperative scripts) to define desired state.
| Decision Factor | Choose ArgoCD | Choose Flux | |----------------|---------------|-------------| | **Team Preference** | Visual management with web UI | CLI/API-first workflows | | **Learning Curve** | Easier onboarding with UI | Steeper but more flexible | | **Architecture** | Monolithic, stateful controller | Modular, stateless controllers | | **Multi-Tenancy** | Built-in RBAC and projects | Kubernetes-native RBAC | | **Resource Usage** | Higher (includes UI components) | Lower (minimal controllers) | | **Best For** | Transitioning to GitOps | Platform engineering |
**Hybrid Approach:** Some teams use Flux for infrastructure and ArgoCD for applications.
For ArgoCD implementation patterns, see references/argocd-patterns.md For Flux implementation patterns, see references/flux-patterns.md For Kustomize overlay patterns, see references/kustomize-overlays.md
kubectl create namespace argocd kubectl apply -n argocd -f https://raw.githubusercontent.com/argoproj/argo-cd/stable/manifests/install.yaml
**Basic Application:**
apiVersion: argoproj.io/v1alpha1
kind: Application
metadata:
name: myapp
namespace: argocd
spec:
project: default
source:
repoURL: https://github.com/org/repo.git
targetRevision: HEAD
path: k8s/overlays/prod
destination:
server: https://kubernetes.default.svc
namespace: myapp
syncPolicy:
automated:
prune: true
selfHeal: trueflux bootstrap github \ --owner=myorg \ --repository=fleet-infra \ --branch=main \ --path=clusters/production
**Basic Kustomization:**
apiVersion: kustomize.toolkit.fluxcd.io/v1
kind: Kustomization
metadata:
name: myapp
namespace: flux-system
spec:
interval: 10m
path: "./k8s/prod"
prune: true
sourceRef:
kind: GitRepository
name: myappFor complete examples, see examples/argocd/ and examples/flux/
**Branch-Based Strategy:** dev branch → staging branch → main branch (prod) **Kustomize-Based Strategy:** k8s/base/ → k8s/overlays/{dev,staging,prod}/
**Promotion Process:** 1. Merge code changes to main branch 2. CI builds container image with tag 3. Update image tag in environment overlay (Git commit) 4. GitOps operator detects change and deploys 5. Test in environment 6. Promote to next environment by updating Git
For multi-environment ApplicationSet patterns, see references/argocd-patterns.md
**ArgoCD:** Register external clusters with argocd CLI, use ApplicationSets to generate Applications per cluster, manage from single ArgoCD instance.
**Flux:** Bootstrap Flux per cluster, use same Git repo with cluster-specific paths, configure remote clusters via kubeConfig secrets.
For detailed multi-cluster patterns, see references/multi-cluster.md
**Canary Deployments:** Gradually shift traffic to new version, monitor metrics during rollout, automated rollback on failures.
**Blue-Green Deployments:** Deploy new version alongside old, switch traffic atomically, instant rollback if issues detected.
**ArgoCD:** Use Argo Rollouts for progressive delivery **Flux:** Integrate Flagger for automated canary analysis
For progressive delivery strategies and Argo Rollouts examples, see references/progressive-delivery.md
GitOps requires storing configuration in Git, but secrets must be protected.
| Tool | Approach | Security | Complexity | |------|----------|----------|------------| | **Sealed Secrets** | Encrypt
Comprehensive UI/UX and Backend component design skills for AI-assisted development with Claude
Repo: ancoleman/ai-design-components
Manage Linux systems covering systemd services, process management, filesystems, networking, performance tuning, and troubleshooting. Use when deploying…
Data pipelines, feature stores, and embedding generation for AI/ML systems. Use when building RAG pipelines, ML feature serving, or data transformations.…
Strategic guidance for designing modern data platforms, covering storage paradigms (data lake, warehouse, lakehouse), modeling approaches (dimensional,…
Design cloud network architectures with VPC patterns, subnet strategies, zero trust principles, and hybrid connectivity. Use when planning VPC topology,…
Design comprehensive security architectures using defense-in-depth, zero trust principles, threat modeling (STRIDE, PASTA), and control frameworks (NIST CSF,…
Assembles component outputs from AI Design Components skills into unified, production-ready component systems with validated token integration, proper import…