appshield
appshield copied to clipboard
Warning about using concurrencyPolicy in cronjobs
The cronjob could be set with concurrencyPolicy: Allow, so when the job fails, the next job doesn't replace the previous job. This could cause resource starvation in the cluster.
It will be nice to have a warning about this, verify concurrencyPolicy is always set to either “Forbid” or “Replace”.
Kubernetes doc: https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/