[WIP] Disable metrics export if the number of mounts in a pod is more than 20#1122
[WIP] Disable metrics export if the number of mounts in a pod is more than 20#1122kislaykishore wants to merge 1 commit intomainfrom
Conversation
|
Skipping CI for Draft Pull Request. |
|
@kislaykishore: The label(s) DetailsIn 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. |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kislaykishore The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
What type of PR is this?
/kind feature
What this PR does / why we need it:
A single GCSFuse pod can support several GCSFuse mounts. This can can cause the GCSFuse metrics cardinality to blow up without an cap. This PR puts the cap on it by disabling metrics collection if the number of GCSFuse mounts exceeds 20.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:
Yes