J.J. Beam
J.J. Beam

Reputation: 3059

How to rollback data when perform release rollback from prod?

From here: https://stackoverflow.com/a/59558640/10894456 the rollback could be performed by:

Using Helm

helm rollback release-name 0

Using kubectl

kubectl rollout undo deployment/deployment-name

or

kubectl rollout undo deployment/deployment-name --to-revision=0

My question is: how to also rollback data which was involved while failed release has been working on prod?

Upvotes: 0

Views: 384

Answers (1)

FL3SH
FL3SH

Reputation: 3328

I see only two options:

  • Application is data-aware so after rollback, it will delete/revert data
  • Restore data from snapshot/backup

Upvotes: 2

Related Questions