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
PreviousGPU VM Resize and Cold Migration Fail with ReshapeFailedNextMultiple Instance Creation Failed Due to Max Scheduling Attempts Exceeded for Cinder Volume
Last updated
