title: kubernetes cronjob only runs once?
body: <p>I created a k8s CronJob with the following schedule (run every minute):</p>
  <p><code>schedule: &quot;*/1 * * * *&quot;</code></p>
  <p>I see my CronJob created:</p>
  <pre><code>NAMESPACE     NAME                   READY   STATUS    RESTARTS   AGE
  job-staging   job-1593017820-tt2sn   2/3     Running   0          10m
  </code></pre>
  <p>My job simply does a Printf to the log, one time, then exits.</p>
  <p>When I do a <code>kubernetes get cronjob</code> I see:</p>
  <pre><code>NAMESPACE     NAME                   READY   STATUS    RESTARTS   AGE
  job-staging   job   */1 * * * *      False   1         19m        19m
  </code></pre>
  <p>When I look at the logs, it looks like it only ran once, which was the first run. Do I need to prevent my program from exiting?</p>
  <p>I assumed k8s would restart my program, but maybe that's a wrong assumption.</p>