diff --git a/hotspot-clear-job-master.yaml b/hotspot-clear-job-master.yaml index 3559ba6..23d5bf2 100644 --- a/hotspot-clear-job-master.yaml +++ b/hotspot-clear-job-master.yaml @@ -6,6 +6,8 @@ metadata: spec: schedule: "*/1 * * * *" # 10分钟 # schedule: "0 * * * *" # 一小时 + successfulJobsHistoryLimit: 3 + failedJobsHistoryLimit: 1 jobTemplate: spec: template: