-
Notifications
You must be signed in to change notification settings - Fork 1.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix readme docs and typo code notes. #1237
Fix readme docs and typo code notes. #1237
Conversation
Welcome @yanggangtony! |
Hi @yanggangtony. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. 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. |
FAQ.md
Outdated
@@ -103,7 +103,7 @@ Metrics Server was tested to run within clusters up to 5000 nodes with an averag | |||
|
|||
#### How often metrics are scraped? | |||
|
|||
Default 60 seconds, can be changed using `metric-resolution` flag. We are not recommending setting values below 15s, as this is the resolution of metrics calculated by Kubelet. | |||
Default 10 seconds, can be changed using `metric-resolution` flag. We are not recommending setting values below 10s, as this is the resolution of metrics calculated by Kubelet. |
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.
Default is 60 seconds in code: https://github.com/kubernetes-sigs/metrics-server/blob/master/cmd/metrics-server/app/options/options.go#L105
Also, the fact that we are not recommending below 15s is pretty much set in stone since this is the value we are running scalability tests with.
manifests/base/deployment.yaml
Outdated
@@ -25,7 +25,7 @@ spec: | |||
- --secure-port=10250 | |||
- --kubelet-preferred-address-types=InternalIP,ExternalIP,Hostname | |||
- --kubelet-use-node-status-port | |||
- --metric-resolution=15s | |||
- --metric-resolution=10s |
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.
what is the reasoning behind that change?
@dgrisonnet I see the code options.go , is judge the 10s.. Why we not suggest the user the minimum=10 , but now is 15?
-->
|
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.
lgtm
Disclaimer: I'm not a maintainer just helping with reviews
@yanggangtony I thought this was what we were running in scale tests but that is not the case. The reasoning behind 10s is explained in #773 (comment). Maybe we could make that clearer in the doc, but generally we are testing with 15s so that's the value we have confidence with. |
/triage accepted |
1 Signed-off-by: yanggang <gang.yang@daocloud.io>
Thanks for review. |
/retest |
2 similar comments
/retest |
/retest |
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.
/ok-to-test
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: JoaoBraveCoding, yanggangtony, yangjunmyfm192085 The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
The Kubernetes project currently lacks enough contributors to adequately respond to all PRs. This bot triages PRs according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/close |
@yanggangtony: Closed this PR. 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. |
What this PR does / why we need it:
This pr is cleanup .
Update some readme docs , and other code typo notes.