ワンクリックで
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