Knowledge Base
2025.10
GENERIC
Networking
Storage
Compute
Designate
Orchestration
Self-Hosted
Install
UPGRADE
Monitoring
Add-Ons
Powered By

Page
Code Steps
Category
Label
Link
Separator
Title
Message
Page icon
No icon. This page keeps the plain index row.
orSVG or PNG, square, at least 32×32.
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
How to Modify "FailedJobsHistoryLimit" or "SuccessfulJobsHistoryLimit" Settings for CronJobs?
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
To modify the default values for FailedJobsHistoryLimit or SuccessfulJobsHistoryLimit settings in CronJobs.
Environment
Self-Hosted Private Cloud Director - Virtualisation: v2025.4 and Higher.
Self-Hosted Private Cloud Director - Kubernetes: v2025.4 and Higher.
Private Cloud Director - Virtualisation: v2025.4 and Higher.
Private Cloud Director - Kubernetes: v2025.4 and Higher.
Procedure
Take the backup of the existing cronjob using the below command:
$ kubectl get cronjob -n <REGION_NAMESPACE> <CRONJOB_NAME> -o yaml > <cronjob-name>.bk
Edit the cronjob object file.
$ kubectl edit cronjob -n <REGION_NAMESPACE> <CRONJOB_NAME>
Under
specsection modify the desired value forFailedJobsHistoryLimitorSuccessfulJobsHistoryLimit.
spec:
failedJobsHistoryLimit: 2 <--- Update desired value for failedJobsHistoryLimit
.
.
successfulJobsHistoryLimit: 4 <--- Update desired value for successfulJobsHistoryLimit
Save the file.
$ kubectl edit cronjob -n <REGION_NAMESPACE> <CRONJOB_NAME>
cronjob.batch/<cronjob-name> edited
Verify the change.
$ kubectl get cronjob -n <REGION_NAMESPACE> <CRONJOB_NAME> -o yaml
Additional Information
To update the default values for all CronJobs, apply the same procedure to each one.
Last updated on
Was this page helpful?
Next to read:
Multiple Instance Creation Failed Due to Max Scheduling Attempts Exceeded for Cinder Volumenull
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message