Question 980
At Horizon observability, in a disposable simulated environment during a monitored release window: CronJob hourly-rollup in namespace observability unexpectedly stops launching runs; its spec has suspend: true after an old maintenance window. Work only within the stated target and verify before declaring success. Which operational control most directly prevents this failure or configuration drift?
Explanation
Correct Answer
Assign ownership for resuming CronJobs and review concurrency policy when maintenance ends. This reduces recurrence of the specific operational failure. It reinforces the action: Run kubectl -n observability patch cronjob hourly-rollup --type=merge -p '{"spec":{"suspend":false}}' after verifying schedules and missed-run policy. The relevant mechanism is: A suspended CronJob skips creating scheduled Jobs even while its controller and time expression are valid.
Incorrect Answers
This routine guards against another mechanism: A Service may exist without usable backends because labels or Pod readiness do not match expected routing. The recurring exposure in the current case is: A suspended CronJob skips creating scheduled Jobs even while its controller and time expression are valid. The matching preventive check is “Assign ownership for resuming CronJobs and review concurrency policy when maintenance ends”.
The suggested review tracks a different technical risk: A NoSchedule taint excludes Pods lacking a matching toleration even if the Node has free resources. Here the sustained control must address: A suspended CronJob skips creating scheduled Jobs even while its controller and time expression are valid. Choose “Assign ownership for resuming CronJobs and review concurrency policy when maintenance ends”.
That safeguard is relevant to: ImagePullBackOff indicates failed image retrieval; cluster DNS, credentials, registry availability and image names are distinct potential causes. The current failure instead follows from: A suspended CronJob skips creating scheduled Jobs even while its controller and time expression are valid. Its prevention measure is “Assign ownership for resuming CronJobs and review concurrency policy when maintenance ends”.