<p>I reload my process running as a Kubernetes Deployment by exiting 0. Sometimes the restarts may be frequent depending on external factors. It does not affect my application as the restarts are intentional and graceful shutdown happens.</p>
<p>Problem is Kubernetes sees this as a problem and puts my pod into Crashloop. Please suggest how to disable Crashloop in pods.</p>
<p>I am using restart and Kubernetes Deployment as a feature.</p>

Alok Kumar Singh
<p>If you are not managing a long-running process you might want to look at using a Kubernetes job instead of deployment.</p>
