<p>How would we modify the default history limit in kubernetes. At this point, the default history limit is 3 revisions. I would like to increase this by 10. </p>

<p>I use the below command to get the revision history</p>

<p><code>kubectl rollout history deployment &lt;deployment name&gt;</code></p>

<p>OK, I found the answer to this.</p>

<p>Every Deployment has its own revision limit stored in its replica set in this field <code>.spec.revisionHistoryLimit</code>. The respective replica set needs to be updated in order to change the revision limit.</p>
