원클릭으로
rollback
Roll back a failed deployment to the previous revision
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Roll back a failed deployment to the previous revision
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Deploy services to the dev EKS namespace via ArgoCD (or kubectl for bootstrap)
Deploy services to the prod EKS namespace via ArgoCD (manual sync) with safety checks
View and troubleshoot service logs and pod status
Review Terraform code for security, best practices, and conventions
Run Checkov security scan on Terraform modules
Run health checks against deployed services
| name | rollback |
| description | Roll back a failed deployment to the previous revision |
| disable-model-invocation | true |
| argument-hint | [service] [env] |
Roll back a failed deployment to its previous working revision.
service — Service to roll back (e.g., api-gateway, customers-service) or allenv — Target environment: dev or prod (default: dev)Set the namespace:
dev → petclinic-devprod → petclinic-prodShow current rollout status and history:
kubectl rollout status deployment/{service} -n petclinic-{env}
kubectl rollout history deployment/{service} -n petclinic-{env}
Show what changed in the current revision vs previous:
kubectl rollout history deployment/{service} -n petclinic-{env} --revision={current}
kubectl rollout history deployment/{service} -n petclinic-{env} --revision={previous}
For prod: require explicit confirmation. Show: "Rolling back {service} in PRODUCTION to revision {N}. This will change the running image. Confirm?"
Execute the rollback:
kubectl rollout undo deployment/{service} -n petclinic-{env}
Monitor rollout:
kubectl rollout status deployment/{service} -n petclinic-{env} --timeout=120s
Verify the rollback:
kubectl get pods -l app.kubernetes.io/name={service} -n petclinic-{env}
If rolling back all:
Show summary:
## Rollback: {service} ({env})
Previous revision: {N} (image: {old-image})
Rolled back to: {N-1} (image: {previous-image})
Status: {success/failed}
Pod status: {Running/etc}
all, go in reverse deployment order/smoke-test {env} after rollback to verify health