<p>From here: <a href="https://stackoverflow.com/a/59558640/10894456">https://stackoverflow.com/a/59558640/10894456</a> the rollback could be performed by:</p>

<p>Using <strong>Helm</strong></p>

<p><code>helm rollback release-name 0</code></p>

<p>Using <strong>kubectl</strong></p>

<p><code>kubectl rollout undo deployment/deployment-name</code></p>

<p><strong>or</strong></p>

<p><code>kubectl rollout undo deployment/deployment-name --to-revision=0</code></p>

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

J.J. Beam
<p>I see only two options:</p>

<ul>
<li>Application is data-aware so after rollback, it will delete/revert data</li>
<li>Restore data from snapshot/backup</li>
</ul>
