Skip to content

feat: node auto provisioning added argument to control refresh frequency - #1174

Merged
Vittoria (vittoriasalim) merged 4 commits into
mainfrom
vitto/nap_refresh
May 12, 2026
Merged

Vittoria (vittoriasalim) merged 4 commits into
mainfrom
vitto/nap_refresh

Conversation

@vittoriasalim

@vittoriasalim Vittoria (vittoriasalim) commented May 12, 2026 •

Copy link
Copy Markdown
Collaborator

as title
added argument to control refresh frequency, to get accurate data !

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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_interval CLI argument to the autoscale override path and wrote CL2_REFRESH_INTERVAL into the CL2 overrides file.
  • Passed --refresh_interval through the autoscale execution step template via REFRESH_INTERVAL env 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.

@liyu-ma Liyu Ma (liyu-ma) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@liyu-ma Liyu Ma (liyu-ma) left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@vittoriasalim
Vittoria (vittoriasalim) merged commit c6d8707 into main May 12, 2026
3 checks passed
@vittoriasalim
Vittoria (vittoriasalim) deleted the vitto/nap_refresh branch May 12, 2026 02:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants