What problem does it solve?
This Skill guides users away from direct kubectl mutations, enforcing a declarative GitOps workflow for Kubernetes resource management, ensuring auditability, reviewability, and recoverability.
Core Features & Use Cases
- Enforces GitOps: Replaces imperative
kubectl commands with declarative manifest changes in Git.
- Workflow Guidance: Provides step-by-step instructions for locating, editing, committing, and syncing Kubernetes manifests.
- Bootstrap Exception Handling: Details a specific workflow for bootstrapping ArgoCD itself, which cannot be managed by GitOps.
- Use Case: When a user attempts to scale a deployment directly using
kubectl scale deployment..., this skill intervenes and guides them through updating the deployment manifest in Git and letting ArgoCD/Flux handle the sync.
Quick Start
Use the gitops-apply skill to update the image tag for the 'api-service' deployment in the 'production' namespace.