<p>I just started to learn Kubernetes. I know what a rollback is, but I have never heard of rollout. Is "<strong>rollout</strong>" related to rollback in any way?  Or "<strong>rollout</strong> is similar to deploying something? </p>

<p><a href="https://i.stack.imgur.com/p77yB.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/p77yB.png" alt="("></a></p>

Jin Lee
<p>Rollout simply means rolling update of application. Rolling update means that application is updated gradually, gracefully and with no downtime. So when you push new version of your application's Docker image and then trigger rollout of your deployment Kubernetes first launches new pod with new image while keeping old version still running. When new pod settles down (passes its readiness probe) - Kubernetes kills old pod and switches Service endpoints to point to new version. When you have multiple replicas it will happen gradually until all replicas are replaced with new version.</p>

<p>This behavior however is not the only one possible. You can tune Rolling Update settings in your deployments <code>spec.strategy</code> settings.</p>

<p>Official docs even have interactive tutorial on Rolling Update feature, it perfectly explains how it works: <a href="https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/" rel="noreferrer">https://kubernetes.io/docs/tutorials/kubernetes-basics/update/update-intro/</a></p>
