How to Modify "FailedJobsHistoryLimit" or "SuccessfulJobsHistoryLimit" Settings for CronJobs?
Problem
Environment
Procedure
$ kubectl get cronjob -n <REGION_NAMESPACE> <CRONJOB_NAME> -o yaml > <cronjob-name>.bk$ kubectl edit cronjob -n <REGION_NAMESPACE> <CRONJOB_NAME>spec:
failedJobsHistoryLimit: 2 <--- Update desired value for failedJobsHistoryLimit
.
.
successfulJobsHistoryLimit: 4 <--- Update desired value for successfulJobsHistoryLimitAdditional Information
PreviousHow to Enable PCI Resource Class Based Placement Reporting in NovaNextMultiple Instance Creation Failed Due to Max Scheduling Attempts Exceeded for Cinder Volume
Last updated
