-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
Delete deprecated CNPStatusUpdates and K8sEventHandover #29395
Conversation
d793c45
to
e361aa4
Compare
/test |
e361aa4
to
64e8a5f
Compare
/test |
64e8a5f
to
756ce3e
Compare
/test |
756ce3e
to
d3d510b
Compare
/test |
529fd77
to
29b8f18
Compare
/test |
29b8f18
to
0cdfccb
Compare
/test |
0cdfccb
to
d37b287
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.
Mostly LGTM, but what about the CRD field?
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.
Docs ok, I left one non-blocking suggestion.
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.
LGTM.
d37b287
to
e0025c1
Compare
Rebased onto main, conflict only in |
/test |
Commit 947bfa0 does not match "(?m)^Signed-off-by:". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
947bfa0
to
c1a5911
Compare
Commit 947bfa0 does not match "(?m)^Signed-off-by:". Please follow instructions provided in https://docs.cilium.io/en/stable/contributing/development/contributing_guide/#developer-s-certificate-of-origin |
Also, we introduce hidden option "legacy-turn-off-k8s-event-handover". What was happening before in setups with CEP CRD Disabled and kvstore: When K8sEventHandover was disabled: - We were opening informer for all pods - even though we were watching endpoints from kvstore too When K8sEventHandover was enabled: - We were opening informer for all pods - Once connected to kvstore, we were closing this informer - We were opening node's local pods informer Now second options is default and hidden option "legacy-turn-off-k8s-event-handover" allows us to fallback to first behaviour - not recommended, but just failsafe in case we need mitigation Signed-off-by: Marcel Zieba <marcel.zieba@isovalent.com>
c1a5911
to
59399f0
Compare
/test |
Delete deprecated CNPStatusUpdates and K8sEventHandover
Also, we introduce the hidden option "legacy-turn-off-k8s-event-handover".
What was happening before in setups with CEP CRD Disabled and kvstore:
When K8sEventHandover was disabled:
endpoints from kvstore too
When K8sEventHandover was enabled:
Now, the second option is the default and hidden option
"legacy-turn-off-k8s-event-handover" allows us to fallback to the first
behavior - not recommended, but just a failsafe in case we need
mitigation.
For now, the option to remove stale CNP statuses is left in case someone needs to clean them up. We can remove that part of the code in the next release.
Related: #24503