Skip to content
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

[1.11] GC: remove CRD and APIService from ignored resources #65915

Conversation

nikhita
Copy link
Member

@nikhita nikhita commented Jul 6, 2018

Fixes partially #65818

This cherry-picks the GC bits for CRD and APIService from #65856. See #65856 (comment) for more details.

Release note:

The garbage collector now supports CustomResourceDefinitions and APIServices.

@k8s-ci-robot k8s-ci-robot added release-note Denotes a PR that will be considered when it comes time to generate release notes. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Jul 6, 2018
@k8s-github-robot k8s-github-robot added the do-not-merge/cherry-pick-not-approved Indicates that a PR is not yet approved to merge into a release branch. label Jul 6, 2018
@nikhita
Copy link
Member Author

nikhita commented Jul 6, 2018

/sig api-machinery
/kind bug
/priority important-soon

/assign @liggitt
/cc @deads2k @sttts

/assign @foxish
for cherry-pick approval

@k8s-ci-robot k8s-ci-robot added sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. kind/bug Categorizes issue or PR as related to a bug. labels Jul 6, 2018
@k8s-ci-robot k8s-ci-robot requested a review from sttts July 6, 2018 17:34
@k8s-ci-robot k8s-ci-robot added the priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. label Jul 6, 2018
@liggitt
Copy link
Member

liggitt commented Jul 6, 2018

/lgtm
/milestone v1.11
/status approved-for-milestone

@k8s-ci-robot k8s-ci-robot added lgtm "Looks good to me", indicates that a PR is ready to be merged. status/approved-for-milestone labels Jul 6, 2018
@k8s-ci-robot k8s-ci-robot added this to the v1.11 milestone Jul 6, 2018
@nikhita
Copy link
Member Author

nikhita commented Jul 6, 2018

/assign @caesarxuchao
for approval

@xmudrii
Copy link
Member

xmudrii commented Jul 6, 2018

@nikhita Do we need to cherry pick it to v1.10 as it's affected too?

/lgtm

@k8s-ci-robot
Copy link
Contributor

@xmudrii: changing LGTM is restricted to assignees, and only kubernetes/kubernetes repo collaborators may be assigned issues.

In response to this:

@nikhita Do we need to cherry pick it to v1.10 as it's affected too?

/lgtm

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.

@liggitt
Copy link
Member

liggitt commented Jul 6, 2018

@nikhita Do we need to cherry pick it to v1.10 as it's affected too?

/lgtm

yes, these should never have been included.

@nikhita nikhita force-pushed the release-1.11-gc-ignored-resources branch from a9ce3fe to de4d07c Compare July 6, 2018 17:43
@k8s-ci-robot k8s-ci-robot removed the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 6, 2018
@nikhita
Copy link
Member Author

nikhita commented Jul 6, 2018

I think this should be cherry-picked to 1.9 too. (sending a PR for both)

@xmudrii
Copy link
Member

xmudrii commented Jul 6, 2018

@liggitt Can I try it? @nikhita Do you want?

@nikhita
Copy link
Member Author

nikhita commented Jul 6, 2018

@liggitt Can I try it? @nikhita Do you want?

Feel free to send a PR. :)

@xmudrii
Copy link
Member

xmudrii commented Jul 6, 2018

@nikhita There's also pkg/quota/install/registry.go. Is it needed to remove CRDs and APIServices from that one too?

Also, is removal needed for other resources from #65856?

Feel free to send a PR. :)

Okay, in a moment. :)

@liggitt
Copy link
Member

liggitt commented Jul 6, 2018

There's also pkg/quota/install/registry.go? Is it needed to remove CRDs and APIServices from that one too?

that's irrelevant, since they're not namespaced objects

@xmudrii
Copy link
Member

xmudrii commented Jul 6, 2018

@liggitt @nikhita Okay, sounds good to me.

Created #65916, I need /ok-to-test and cherry-pick approval.

@nikhita
Copy link
Member Author

nikhita commented Jul 6, 2018

Created #65918 against 1.9 since we maintain three releases at a time (1.11, 1.10 and 1.9 right now).

@nikhita
Copy link
Member Author

nikhita commented Jul 6, 2018

since this has kube-controller-manager changes:

/assign @deads2k
for approval

@deads2k
Copy link
Contributor

deads2k commented Jul 6, 2018

/approve

@k8s-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jul 6, 2018
@liggitt
Copy link
Member

liggitt commented Jul 7, 2018

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Jul 7, 2018
@liggitt liggitt added priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. and removed priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. labels Jul 9, 2018
@k8s-github-robot
Copy link

[MILESTONENOTIFIER] Milestone Pull Request: Up-to-date for process

@caesarxuchao @deads2k @foxish @liggitt @nikhita

Pull Request Labels
  • sig/api-machinery: Pull Request will be escalated to these SIGs if needed.
  • priority/critical-urgent: Never automatically move pull request out of a release milestone; continually escalate to contributor and SIG through all available channels.
  • kind/bug: Fixes a bug discovered during the current release.
Help

@foxish foxish added cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. and removed do-not-merge/cherry-pick-not-approved Indicates that a PR is not yet approved to merge into a release branch. labels Jul 9, 2018
@k8s-github-robot
Copy link

/test all [submit-queue is verifying that this PR is safe to merge]

@caesarxuchao
Copy link
Member

Sorry I was ooo last week.

/lgtm

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: caesarxuchao, deads2k, liggitt, nikhita, 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 /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-github-robot
Copy link

Automatic merge from submit-queue.

@k8s-github-robot k8s-github-robot merged commit e403f7e into kubernetes:release-1.11 Jul 9, 2018
k8s-github-robot pushed a commit that referenced this pull request Jul 10, 2018
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
@nikhita nikhita deleted the release-1.11-gc-ignored-resources branch July 16, 2018 16:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/bug Categorizes issue or PR as related to a bug. lgtm "Looks good to me", indicates that a PR is ready to be merged. priority/critical-urgent Highest priority. Must be actively worked on as someone's top priority right now. release-note Denotes a PR that will be considered when it comes time to generate release notes. sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants