-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
KubeadmControlPlane should provide an explanation when it decides a Machine should be replaced #5557
Comments
/area control-plane |
/help |
@vincepri: GuidelinesPlease ensure that the issue body includes answers to the following questions:
For more details on the requirements of such an issue, please see here and ensure that they are met. If this request no longer meets these requirements, the label can be removed In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues and PRs. This bot triages issues and PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/lifecycle frozen |
I found this interesting and was wondering if this is an issue that I could take up to start contributing to CAPI, I'm ramping up on it, but if this isn't a beginner friendly task/is time critical, do let me know. Otherwise I'll go ahead and assign myself! |
@RaghavRoy145 unpacking KCP machine filters is not the easiest task to start with, but complexity is something really opinionated.. |
Thanks @fabriziopandini , and you're right. |
/assign |
I started work on this in https://github.com/dlipovetsky/cluster-api/tree/dlipovetsky/verbose-filters-v1alpha4. I didn't have time to stick with it. I'd be happy to collaborate with you, if you'd like, @RaghavRoy145 . |
I would love to collaborate, I'm pretty sure I'll need all the help I can get! 😄 |
/triage accepted |
/assign I have something locally which comes close. I'll create a PR when I get to it (might not be very soon) Note to myself: first very hacky version with a bunch of other stuff mixed in can be found here: https://github.com/sbueringer/cluster-api/commits/pr-improve-kcp-logging |
User Story
As a user I would like to understand why KubeadmControlPlane (KCP) decides that a Machine needs to be replaced (in KCP parlance, the Machine "needs rollout").
Today, I see only that KCP decides the Machine needs to be replaced, but no reason as to why:
This is, of course, not enough information to understand the decision.
Detailed Description
Anything else you would like to add:
KCP makes the decision by applying filter functions. These functions return a boolean. I'm working on a proof of concept change to the filter API so that the functions return a explanation along with a boolean.
/kind feature
The text was updated successfully, but these errors were encountered: