<p>I tried to automate the rolling update when the configmap changes are made. But, I am confused about how can I verify if the rolling update is successful or not. I found out the command </p>

<pre><code>kubectl rollout status deployment test-app -n test
</code></pre>

<p>But I guess this is used when we are performing the rollback rather than for rolling update. What's the best way to know if the rolling update is successful or not?</p>

programmingtech
<p>I think it is fine, </p>

<p><code>kubectl rollout status deployments/test-app -n test</code> can be used to verify the rollout deployment as well.</p>

<p>As an additional step, you can run,</p>

<p><code>kubectl rollout history deployments/test-app -n test</code> as well.</p>

<p>if you need further clarity, </p>

<p><code>kubectl get deployments -o wide</code> and check the <code>READY</code> and <code>IMAGE</code> fields.</p>
