Interview Prep/Real-World Interview/Kubernetes, GitOps & deployment strategy

How did you handle cron jobs and batch workloads?

BeginnerBehavioralKubernetes, GitOps & deployment strategy
Answer

Good answer looks like → "Kubernetes CronJobs with concurrencyPolicy: Forbid so runs don't overlap, startingDeadlineSeconds to avoid floods of catch-up runs, backoffLimit set deliberately, and ttlSecondsAfterFinished to clean up Jobs. Each job pushed a success timestamp metric so we alerted on 'hasn't succeeded in 25 hours'."

Follow-ups to expect → What happens if the cluster is down when a job should run? How did you alert on failures?

Red flags → Alerting only on job failure, so a job that never runs goes unnoticed.

All Real-World Interview questions Roadmap: Interview readiness

More on Kubernetes, GitOps & deployment strategy