title: Azure Kubernetes : Spring Batch running on Ubuntu 18.04 is getting killed rarely
body: <p>I have a Spring batch 2.1.x application deployed on Azure Kubernetes. Base image is Ubuntu 18.04. I see that the process is getting killed at times.</p>
  <p><strong>Process flow:</strong></p>
  <ol>
  <li>kubectl command line command to start the bash script</li>
  <li>bash script to start the spring batch</li>
  <li>spring batch application to print / generate the CSV file</li>
  </ol>
  <p><a href="https://i.stack.imgur.com/O6UJT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/O6UJT.png" alt="enter image description here" /></a></p>