rollback-deployment

Roll back failed microservice deployments using Git revert and kubectl rollbacks.

Updated Feb 10, 2026
One-click install
npx skills add https://github.com/vesviet/microservices-agent-skills --skill rollback-deployment-vesviet
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rollback-deployment
Source: https://github.com/vesviet/microservices-agent-skills/tree/main/skills/rollback-deployment
Command: npx skills add https://github.com/vesviet/microservices-agent-skills --skill rollback-deployment-vesviet

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill provides a structured approach to revert problematic deployments, minimizing downtime and preventing further issues when a new release causes instability.

Core Features & Use Cases

  • Multiple Rollback Strategies: Supports Git revert, GitOps config fixes, and emergency kubectl rollbacks.
  • Migration Handling: Addresses reversible and non-reversible database migration issues.
  • Use Case: A new service deployment is causing CrashLoopBackOff errors. Use this Skill to revert the code commit via Git, allowing CI/CD to redeploy a stable version.

Quick Start

Use the rollback-deployment skill to revert the last code commit that caused a deployment failure.

Frequently Asked Questions about rollback-deployment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I rollback a failed Kubernetes deployment causing CrashLoopBackOff?

To rollback a failed Kubernetes deployment, you can use an emergency kubectl rollback or revert the problematic Git commit to redeploy a stable version via CI/CD. This Skill guides you through both approaches to resolve CrashLoopBackOff errors safely.

What is the best way to revert a deployment in a GitOps workflow?

The best way to revert a deployment in GitOps is updating the configuration repository by reverting the problematic Git commit. This Skill facilitates safe recovery by guiding Git reverts and GitOps configuration updates across development and production environments.

How do I handle a database migration rollback after a failed microservice deployment?

Handling a database migration rollback requires checking if the migration is reversible. This Skill addresses reversible and non-reversible database migration issues, guiding you through safe recovery steps after a failed microservice deployment.

Can I use this approach to roll back deployments across both development and production environments?

Yes, you can use this approach to roll back failed microservice deployments across both development and production environments. It supports multiple rollback strategies including Git revert, GitOps config fixes, and emergency kubectl rollbacks.

When should I use an emergency kubectl rollback instead of a Git revert?

You should use an emergency kubectl rollback when immediate recovery is needed to minimize downtime, and a Git revert when you need CI/CD to redeploy a previously stable version. This Skill helps you choose the right strategy for your situation.