Skip to content

Conversation

@jpbetz
Copy link
Contributor

@jpbetz jpbetz commented Oct 16, 2018

Per #69540, including resource related labels on admission webhook labels on large cluster with lots of CRDs incurs unacceptable amounts of memory use and churn.

This PR removes the resource related labels: group, version, resource and subresource.

Reduce memory utilization of admission webhook metrics by removing resource related labels.

/sig api-machinery
/kind cleanup
/cc @smarterclayton

@jpbetz jpbetz self-assigned this Oct 16, 2018
@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/M Denotes a PR that changes 30-99 lines, ignoring generated files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. labels Oct 16, 2018
@k8s-ci-robot k8s-ci-robot added area/apiserver sig/api-machinery Categorizes an issue or PR as relevant to SIG API Machinery. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. and removed needs-sig Indicates an issue or PR lacks a `sig/foo` label and requires one. needs-kind Indicates a PR lacks a `kind/foo` label and requires one. labels Oct 16, 2018
@jpbetz
Copy link
Contributor Author

jpbetz commented Oct 16, 2018

/retest

@jpbetz
Copy link
Contributor Author

jpbetz commented Oct 17, 2018

This is ready for review.

@jpbetz
Copy link
Contributor Author

jpbetz commented Oct 22, 2018

@smarterclayton Friendly ping for review

@smarterclayton
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Oct 22, 2018
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jpbetz, smarterclayton

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details 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-ci-robot k8s-ci-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 22, 2018
@k8s-ci-robot k8s-ci-robot merged commit 04d3949 into kubernetes:master Oct 22, 2018
k8s-ci-robot added a commit that referenced this pull request Mar 1, 2019
…#69895-upstream-release-1.11

Automated cherry pick of #69895: Reduce cardinality of admission webhook metrics
k8s-ci-robot added a commit that referenced this pull request Mar 4, 2019
…#69895-upstream-release-1.12

Automated cherry pick of #69895: Reduce cardinality of admission webhook metrics
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. area/apiserver cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/cleanup Categorizes issue or PR as related to cleaning up code, process, or technical debt. lgtm "Looks good to me", indicates that a PR is ready to be merged. 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/M Denotes a PR that changes 30-99 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants