I have configured a CronJon in K8S that creates a pod every 10 minutes. The running container can complete in anything from 5 minutes to 2 hours, no way to tell.
Sometimes, when the computation is taking very long, i end up with far too many pods created.
Is there a way to limit the number of running pods, instances of the specific CronJob?
EDIT
To clarify, I want concurrent runs, i want to limit the number of running concurrent instances to a certain large number N.