Feedback

Chat Icon

Helm in Practice

Designing, Deploying, and Operating Kubernetes Applications at Scale

GitOps with Helm and Argo CD
93%

Rollback with Argo CD

Argo CD maintains a history of application revisions, like a ReplicaSet does for Pods. Each time an application is synchronized, a new revision is created in the Git repository. This allows Argo CD to roll back to a previous revision if needed.

You can see the revision history of the application by using the following command:

argocd app history $APPNAME

The REVISION column shows the branch and the short ID of the commit that triggered the synchronization.

You can roll back to a previous revision using the following command:

argocd app rollback $APPNAME 

However, a rollback cannot be performed on an application with automated sync enabled.

Example:

argocd app rollback $APPNAME  0

# Error output
{
  "level":"fatal"

Helm in Practice

Designing, Deploying, and Operating Kubernetes Applications at Scale

Enroll now to unlock current content and receive all future updates for free. Your purchase supports the author and fuels the creation of more exciting content. Act fast, as the price will rise as the course nears completion!

Unlock now  $15.99$11.99

Hurry! This limited time offer ends in:

To redeem this offer, copy the coupon code below and apply it at checkout:

Learn More