Skip to content

Allow configuring RPS window for service scaling#3830

Open
jvstme wants to merge 1 commit intomasterfrom
issue_3825_configurable_rps_window_for_scaling
Open

Allow configuring RPS window for service scaling#3830
jvstme wants to merge 1 commit intomasterfrom
issue_3825_configurable_rps_window_for_scaling

Conversation

@jvstme
Copy link
Copy Markdown
Collaborator

@jvstme jvstme commented Apr 27, 2026

Add the window property to service scaling
specs. This property defines the time window used
to calculate requests per second. The allowed
values are 30s, 1m, and 5m. The default
remains 1m.

type: service
image: nginx
port: 80

replicas: 0..1
scaling:
  metric: rps
  # 1 request per second, calculated over a 5-minute window
  target: 1
  window: 5m

Closes #3825

Add the `window` property to service scaling
specs. This property defines the time window used
to calculate requests per second. The allowed
values are `30s`, `1m`, and `5m`. The default
remains `1m`.

```yaml
type: service
image: nginx
port: 80

replicas: 0..1
scaling:
  metric: rps
  # 1 request per second, calculated over a 5-minute window
  target: 1
  window: 5m
```
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.

[Feature]: Configurable RPS evaluation window for service autoscaling

1 participant