Skip to content

Comment on Learning to operate Kubernetes reliably

Comments

How do you deal with sidecar containers in CronJobs (and regular batch Jobs) not terminating correctly?

https://github.com/kubernetes/kubernetes/issues/25908

We don't run sidecar containers in cron jobs yet. That said, here's a workaround (from that issue): https://github.com/kubernetes/kubernetes/issues/25908#issuec...

I'm aware of the workarounds in that thread. Just wondering if Stripe had a different workaround but I guess not.

That GitHub comment is Stripe's workaround! I copied it nearly as-is from our internal job setup boilerplate.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.