Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
The garbage collector and quota counter should use the metadata client and protobuf to access resources #78742
The garbage collector and the generic object count quota controller currently uses dynamic client and JSON to perform operations only on resource metadata. This PR changes the both to use the metadata client - a client that uses the server-side conversion logic to retrieve only the metadata about the object in protobuf - to more efficiently interact with the server.
Renames GenericInformerFactory to make it clear that these informers return only a subset of objects.
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: smarterclayton
The full list of commands accepted by this bot can be found here.
The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing
…ager All controllers in controller-manager that deal with objects generically work with those objects without needing the full object. Update the GC and quota controller to use PartialObjectMetadata input objects which is faster and more efficient.