-
-
Notifications
You must be signed in to change notification settings - Fork 324
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
impossible to write timestamps to status objects without causing controller to loop #354
Comments
On one hand, it could be argued that the client shouldn't send no-op patches to the apiserver anyway. On the other, doing that kind of diffing locally could be pretty error-prone.. Then again, any local filtering mechanism would need to implement the same logic anyway. |
Oh, that is a good point. Yeah, this probably isn't a bug. |
hm, then again, doing a noop update to the server is kind of useful to a controller to indicate that work has been done and the thing isn't dead... EDIT: particularly if the only thing changes was the status object. It's a bit difficult to check every single status property before writing our current one in a reconciler. At the very least it will cause very hairy reconcilers. |
also not including timestamps yet due to kube-rs/kube#354
Closing in favour of #279 - will explain there. |
A small diff to a controller like:
Causes the controller to spin repeatedly:
Related to #318 and #279. It was slightly annoying then, but now it's actually preventing things, so we have to tackle it one way or another.
The text was updated successfully, but these errors were encountered: