Repository navigation
feat: node auto provisioning added argument to control refresh frequency - #1174
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds a configurable refresh interval for ClusterLoader2 autoscale benchmarks, allowing scenarios to control how frequently the WaitForNodes / WaitForRunningPods measurements poll.
Changes:
- Added a new
--refresh_intervalCLI argument to the autoscale override path and wroteCL2_REFRESH_INTERVALinto the CL2 overrides file. - Passed
--refresh_intervalthrough the autoscale execution step template viaREFRESH_INTERVALenv var. - Set
refresh_interval: "1s"across node auto-provisioning benchmark matrices.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| steps/engine/clusterloader2/autoscale/execute.yml | Threads the refresh interval into the autoscale override invocation. |
| pipelines/perf-eval/Autoscale Benchmark/node-auto-provisioning-benchmark.yml | Configures refresh_interval for the NAP benchmark scenario matrices. |
| modules/python/clusterloader2/autoscale/autoscale.py | Adds --refresh_interval support and emits CL2_REFRESH_INTERVAL into overrides. |
xinWeiWei24
reviewed
May 12, 2026
Liyu Ma (liyu-ma)
left a comment
Collaborator
There was a problem hiding this comment.
I am ok with the added config, but what is the rationale to change it to 1 sec? Can you show what is observed with 1s but not 5s? Frequent scraping expresses more pressure for metrics endpoint.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
as title
added argument to control refresh frequency, to get accurate data !