title: Running Background Jobs in Kubernetes
body: <p>I'm using the Angular Module Zero template (<a href="https://aspnetzero.com/" rel="nofollow noreferrer">https://aspnetzero.com/</a>) and have a simple background job that implements the default BackgroundJob class. Problem is that when this runs in our kubernetes environment each one of our pods picks up the job and runs it resulting in duplicate entries in our database. What is the correct way of handling background jobs in the Module Zero template when hosted in kubernetes?</p>