-
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 CRD receives the same event #503
Comments
so #334 does not work as is |
@mbohlool Do you know who can have a look at this ? I am struggling to figure it out. |
@sebgoa I actually have seen the same exact thing... I'm looking at the |
@roycaihw can you take a look at this? |
The problem seems to be watch deserializing a CR json response into a dict instead of an object of a class, because we don't have model defined for CR, and |
@roycaihw That would be awesome to have this merged... Thanks a lot for finding the solution... |
confirm that the fix works. |
It seems that when watching CRD custom objects we keep receiving the same event.
here is how to reproduce,
kubectl create -f
the following CRD.Then run this watch script:
and create a custom object like so:
The script stdout will be:
The stream does not die so the resource version never gets reset. The for loop keeps getting the same event over and over.
I was expecting the event to be received only once.
The text was updated successfully, but these errors were encountered: