← ClaudeAtlas

traefik-controller-decommissionlisted

GitOps-flavored SAFE uninstall of the `ingress-nginx` controller in a Kustomize + ArgoCD repo. Verifies cluster + repo are free of `ingressClassName: nginx` (precedence-aware: spec wins, legacy annotation falls back). After DNS bake confirmation, plans the decommission as: archive the `common.ingress-nginx/` (or equivalent) Kustomize module, disable the ArgoCD Application, wait for ArgoCD prune, then optional LB / IAM cleanup. Never runs `helm uninstall` — ArgoCD handles the actual resource removal via prune. Plan-only: emits a `commands.sh` for the operator to drive manually.
qwedsazxc78/devops-ai-skill · ★ 2 · DevOps & Infrastructure · score 68
Install: claude install-skill qwedsazxc78/devops-ai-skill
# traefik-controller-decommission Skill Invoked by Zeus pipeline `*decommission-nginx`. GitOps companion to `*install-traefik` — both manipulate the Kustomize modules ArgoCD reconciles, never the live cluster directly. ## What this skill is NOT - Not a `helm uninstall` runner — ArgoCD prunes resources when the Application is disabled or deleted. - Not a `kubectl delete` runner — same reason. - Not a Kustomize editor that touches anything other than the ingress-nginx module + its ArgoCD Application manifest. ## Canonical references | File | When to read | |---|---| | `references/decommission-checklist.md` | Step 6 — operator-facing manual checklist (final cluster verifications + rollback recipe) | ## Bundled scripts | Script | Used by | Purpose | |---|---|---| | `scripts/verify_no_nginx_class.sh` | Step 3 | Dual cluster + repo scan (precedence-aware: `spec.ingressClassName == "nginx"` OR null-spec + legacy annotation). Unchanged from v1.12.0; this was already GitOps-correct. | | `scripts/discover_nginx_module.sh` | Step 1 | Scan `common.*/` for the Kustomize module hosting the ingress-nginx Helm chart; identify its ArgoCD Application manifest. | | `scripts/generate_decommission_plan.sh` | Step 5 | Render `plan.md` + `commands.sh` for archive + ArgoCD disable + post-prune verify + optional LB/IAM cleanup. | ## Activation Triggered explicitly by `*decommission-nginx` from Zeus. Not auto-triggered. ## Invocation forms ``` *decommission-nginx