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
Known object count quota problems with uninitialized objects #53109
Comments
/sig api-machinery |
+1. Agree. With |
[MILESTONENOTIFIER] Milestone Removed @caesarxuchao @kubernetes/sig-api-machinery-bugs Important: This issue was missing the |
Issues go stale after 90d of inactivity. Prevent issues from auto-closing with an If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or |
FYI, as of #54660 it is now possible to tweak the ListOptions used by a SharedInformerFactory in order to watch uninitialized objects. This would be a factory-wide tweak however, meaning all controllers in kube-controller-manager would need to handle uninitialized objects cleanly. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
/remove-lifecycle rotten |
the alpha initializers feature has been removed in 1.14 /close |
@liggitt: Closing this issue. In response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
Background: when is quota charged
The object count quota is charged when an object is created, no matter if it's initialized or uninitialized. This is to protect the system from having too many uninitialized objects.
Other quotas are charged when objects are initialized. They don't suffer from the problems.
Problems with replenishing the object count quota
Brain storming fixes
Let the replenishment controller observe the uninitialized objects (e.g., Add options to sharedinformers to include uninitialized objects #51247).
Or, for the replenishment of object counts, we build a special informer that only observes uninitialized objects. Assuming that the number of uninitialized objects is small, storing uninitialized objects outside of the shared informer causes small overhead.
Related issues
#51820 notes multiple problems with the quota system. Fixing them all-at-once requires a redesign, which could cost multiple quarters. I want to graduate initializers to beta independent of #51820, so I filed this issue to discuss more targeted solutions.
@kubernetes/sig-api-machinery-bugs @lavalamp @liggitt @derekwaynecarr
The text was updated successfully, but these errors were encountered: