tilt-dev / tilt

Define your dev environment as code. For microservice apps on Kubernetes.
https://tilt.dev/
Apache License 2.0
7.52k stars 296 forks source link

Long running cron jobs show pending before their first run #2136

Open jazzdan opened 4 years ago

jazzdan commented 4 years ago

From Doug Sparling in #tilt:

are CronJob resources deployed through Tilt intended to show as yellow/pending before their first run? My job is hourly so typically when I tilt up it's gonna be awhile until the first job runs. Not a big deal, just a bit annoying since I want everything to come up green on a clean run :slightly_smiling_face:

I think that for cron jobs it should be green if the cron job has been created successfully and should only show pending while the cron job is running.

Raboo commented 1 year ago

I actually think that the resource tilt creates is a CronJob, and if that it successful, then tilt is done with that resource, it shouldn't wait for jobs to execute, it can take forever.