-
Notifications
You must be signed in to change notification settings - Fork 3.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
Watch() returns wrong "DELETED" event #2228
Comments
Could you turn on DEBUG logging to see if the watch event is sent by the server? Reading the watch implementation I didn't see the client generating additional events that aren't sent by the server |
As I don't have access to the API server audit logs, I'm not sure how to properly debug what the server is sending.
In the Is the above output sufficient to dig further, or is there an easy way to debug the Watch function further? Best regards, |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
What happened (please include outputs or screenshots):
A python script watching the existence of a set of configmaps gets notified that a CM got deleted when this is not the case.
Upon investigation, we found that this event is triggered when a CM does not match the label selector anymore (i.e. the selected label is removed).
The fact that the CM is removed from the list of watched CMs does not imply it has been deleted, meaning this classifies as a bug,
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
ConfigMap 'foo' was deleted
Anything else we need to know?:
Environment:
python --version
): 3.11.5pip list | grep kubernetes
): 24.2.0The text was updated successfully, but these errors were encountered: