Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ScalerMinPollInterval param #1173

Merged
merged 1 commit into from
Aug 1, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions templates/aws-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ Metadata:
- ScaleOutForWaitingJobs
- InstanceCreationTimeout
- ScalerEventScheduleRate
- ScalerMinPollInterval

- Label:
default: Cost Allocation Configuration
Expand Down Expand Up @@ -303,6 +304,11 @@ Parameters:
Description: How often the event schedule for buildkite-agent-scaler is triggered (in minutes)
Type: String
Default: "1"

ScalerMinPollInterval:
Description: Minimum interval at which the auto scaler should poll the AWS API
Type: String
Default: "10s"

OnDemandPercentage:
Description: Percentage of total instances that should launch as OnDemand. Default is 100% OnDemand - reduce this to use some Spot Instances when they're available and cheaper than the OnDemand price. A value of 70 means 70% OnDemand and 30% Spot Instances.
Expand Down Expand Up @@ -1381,3 +1387,4 @@ Resources:
ScaleOutFactor: !Ref ScaleOutFactor
ScaleOutForWaitingJobs: !Ref ScaleOutForWaitingJobs
EventScheduleRate: !Ref ScalerEventScheduleRate
MinPollInterval: !Ref ScalerMinPollInterval