mirror of https://github.com/k3s-io/k3s
Merge pull request #68127 from serathius/metrics-server-30s
Automatic merge from submit-queue (batch tested with PRs 68127, 68143). If you want to cherry-pick this change to another branch, please follow the instructions here: https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md. Increase metrics-server scrape frequency to 30s With new release of metrics-server and it's performance improvement, we will reduce metrics pipeline latency from 60s to 30s. This is part of sig-autoscaling effort to improve HPA https://github.com/kubernetes/kubernetes/pull/68021 ```release-note Increase scrape frequency of metrics-server to 30s ``` /cc @kawych @mwielgus @DirectXMan12 @dashpolepull/8/head
commit
6701e24c83
|
@ -52,6 +52,7 @@ spec:
|
|||
image: k8s.gcr.io/metrics-server-amd64:v0.3.0
|
||||
command:
|
||||
- /metrics-server
|
||||
- --metric-resolution=30s
|
||||
# These are needed for GKE, which doesn't support secure communication yet.
|
||||
# Remove these lines for non-GKE clusters, and when GKE supports token-based auth.
|
||||
- --kubelet-port=10255
|
||||
|
|
Loading…
Reference in New Issue