Revert a deployment for application component
What is revert deployment?
Revert deployment is an operation available for the application component of the service. In this operation, a user can revert the version of the artifact to the previous deployed version.
If your redeploy operation fails, do not use revert operation at any cost
Command
operation
String
It takes the input of the operation you want to perform, in this case REVERT
.
service
String
Service name for which the operation to be performed.
name
String
Application component name for which revert to be performed.
env
String
Environment name where the operation is to be performed.
Frequently Asked Questions
Can I revert to any version of the artifact that I want ?
No, you can only revert to the immediately available previous deployed version. Odin enables this reversion by swapping the passive stack to active and vice versa. If you perform multiple revert operations, the application component will continue to alternate between the active and passive stacks.
Can I use revert if my current deployment fails?
If your redeploy operation fails, do not perform revert at any cost.
Can I revert my service version?
No, only the application component's artifact version can be reverted.
How to verify if my revert operation is successful?
The artifact version can be verified directly from datadog.
Last updated