-
Notifications
You must be signed in to change notification settings - Fork 38.9k
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
only need to ignore resources that match discovery conditions #65856
only need to ignore resources that match discovery conditions #65856
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
That seems to fix the issue #65818
/lgtm
@xmudrii: changing LGTM is restricted to assignees, and only kubernetes/kubernetes repo collaborators may be assigned issues. 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. |
5c6889c
to
eacbd62
Compare
pkg/quota/install/registry.go
Outdated
{Group: "", Resource: "events"}: {}, | ||
{Group: "authentication.k8s.io", Resource: "tokenreviews"}: {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this prevent creation of these before quota objects sync?
@@ -337,17 +337,7 @@ func (gb *GraphBuilder) Run(stopCh <-chan struct{}) { | |||
} | |||
|
|||
var ignoredResources = map[schema.GroupResource]struct{}{ | |||
{Group: "extensions", Resource: "replicationcontrollers"}: {}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are these not listable/watchable?
/lgtm I think the change to CRD/APIService for GC should be picked to 1.11 |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: deads2k, liggitt, xmudrii 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 |
I'll do it. 👍 |
|
Automatic merge from submit-queue (batch tested with PRs 65897, 65909, 65856, 65815). If you want to cherry-pick this change to another branch, please follow the instructions here. |
/cc @roycaihw |
Automatic merge from submit-queue. [1.11] GC: remove CRD and APIService from ignored resources Fixes partially #65818 This cherry-picks the GC bits for CRD and APIService from #65856. See #65856 (comment) for more details. **Release note**: ```release-note The garbage collector now supports CustomResourceDefinitions and APIServices. ```
Automatic merge from submit-queue. [1.10] gc: remove crd and apiservice from ignored resources Fixes #65818 This PR cherry-picks CRD and APIService removal from GC ignored resources, from #65856 and #65915. **Release note**: ```release-note The garbage collector now supports CustomResourceDefinitions and APIServices. ``` /cc @nikhita @liggitt /sig api-machinery /kind bug /priority important-soon
Automatic merge from submit-queue. [1.9] GC: remove CRD and APIService from ignored resources Fixes #65818 This cherry-picks the GC bits for CRD and APIService from #65856. See #65856 (comment) for more details. **Release note**: ```release-note The garbage collector now supports CustomResourceDefinitions and APIServices. ```
GC and quota controllers ignore resources that are too expensive to manage. In kube this is only events. The incompatible resources should now be excluded on the basis of discovery. We should actually reflect that in the RESTStorage (done for GC for events) and discovery too.
@liggitt
@kubernetes/sig-api-machinery-bugs