Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update kube-node-decommissioner CronJob concurrencyPolicy to Replace #9037

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

zaklawrencea
Copy link
Member

@zaklawrencea zaklawrencea commented Mar 5, 2025

Update the kube-node-decommissioner CronJob to concurrencyPolicy: Replace

Replace: If it is time for a new Job run and the previous Job run hasn't finished yet, the CronJob replaces the currently running Job run with a new Job run

https://kubernetes.io/docs/concepts/workloads/controllers/cron-jobs/#concurrency-policy

We have seen the pod landing on a node and becoming stuck in Terminating state itself. With this change in policy, a new pod should run and allow the kube-node-decommissioner to continue to work.

@zaklawrencea zaklawrencea added the bugfix Bug fixes and patches, e.g. fixing of a production issue that is affecting the customer experience. label Mar 5, 2025
@zaklawrencea
Copy link
Member Author

👍

1 similar comment
@demonCoder95
Copy link
Member

👍

@demonCoder95 demonCoder95 merged commit dd16511 into dev Mar 5, 2025
10 checks passed
@demonCoder95 demonCoder95 deleted the kube-node-decommissioner-cj-update branch March 5, 2025 19:11
This was referenced Mar 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix Bug fixes and patches, e.g. fixing of a production issue that is affecting the customer experience. merged/alpha
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants