-
Notifications
You must be signed in to change notification settings - Fork 3.4k
bgpv2: Introduce NoMatchingNode condition to CiliumBGPClusterConfig #35517
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
Conversation
4960d02
to
5862378
Compare
Introduce a status and conditions field in the CiliumBGPClusterConfig which will be filled by the Cilium Operator for error reporting. Signed-off-by: Yutaro Hayakawa <yutaro.hayakawa@isovalent.com>
5862378
to
5535e7f
Compare
5535e7f
to
812070d
Compare
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, great change 🚀
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aside from checking for changes before pushing status updates, LGTM.
Introduce a new condition NoMatchingNode which indicates the spec.nodeSelector selects nothing. Signed-off-by: Yutaro Hayakawa <yutaro.hayakawa@isovalent.com>
812070d
to
6add65e
Compare
/test |
1 similar comment
/test |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very nice, thanks!
I see this was labeled as |
I thought it is just an troubleshooting improvements, so it applies to
What was the problem for those users? At least, this is a non-breaking change (because it's a pure add). If we care about the side effects like the increasing churn rate due to the status field, I think that problem should be solved with the opt-out flag and not the CRD version. |
I think that for those users we did actually make a breaking change, that's fair. I'm not sure I understand @cilium/sig-k8s quite well enough to really determine the consequences if we're only adding new fields. |
Introduce a new condition to report the error that the given node selector selects nothing. This is the first condition we introduce in the
CiliumBGPClusterConfig
. Therefore, this PR also introduces an update for the CRD and an internal infra to set conditions.