From 2716e2e18cea56fab49376ec615c9a0811ae68cb Mon Sep 17 00:00:00 2001 From: cmyui Date: Sun, 5 Nov 2023 15:27:35 -0500 Subject: [PATCH] forbid cronjob concurrency --- k8s/cronjob.yaml | 1 + 1 file changed, 1 insertion(+) diff --git a/k8s/cronjob.yaml b/k8s/cronjob.yaml index 72ad503..a980313 100644 --- a/k8s/cronjob.yaml +++ b/k8s/cronjob.yaml @@ -4,6 +4,7 @@ metadata: name: new-cron-production spec: schedule: "*/10 * * * *" + concurrencyPolicy: Forbid jobTemplate: spec: template: