Managed Kubernetes
Latest
Frequently Asked Questions
Solutions
How Tos
Internal Only
Templates
Powered By

Title
Message
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?
Kubernetes CronJobs Failed with Error "too many missed start time (> 100)"
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- The Kubernetes cronjobs failed to start with an error mentioned below
Error
Warning FailedNeedsStart 3m21s (x93148 over 10d) cronjob-controller Cannot determine if job needs to be started: too many missed start time (> 100). Set or decrease .spec.startingDeadlineSeconds or check clock skewEnvironment
- Platform9 Managed Kubernetes - All Versions
- CronJobs
Cause
- For every cronjob, CronJob Controller checks how many schedules it missed in the duration from its last scheduled time until now. If there are more than 100 missed schedules, then it does not start the job and logs the error mentioned below.
CronJob Controller error
Cannot determine if job needs to be started. Too many missed start time (> 100). Set or decrease .spec.startingDeadlineSeconds or check clock skew.- The CronJob failures can occur if the
CronJob'sstatus.lastScheduleTime,metadata.creationTimestampfields are unset. - Kubernetes first looks at the
lastScheduleTimefield to calculate how many jobs may have been missed. If that field is unset (such as for a newly createdCronJob), it uses thecreationTimestampfield in the metadata.
Resolution
- The solution to this is recreating the failed cronjob as it will help to reset the null values for the
spec.jobTemplate.metadata.creationTimestampandspec.jobTemplate.spec.template.metadata.creationTimestampfields.
VariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
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