Skip to content

Commit

Permalink
adding limit-active-volumes container placement strategy
Browse files Browse the repository at this point in the history
  • Loading branch information
dandersonsw committed Dec 11, 2024
1 parent dcd8eb2 commit 2460929
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 1 deletion.
12 changes: 11 additions & 1 deletion operations/container-placement.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
- type: replace
path: /instance_groups/name=web/jobs/name=web/properties/container_placement_strategies?
value: [limit-active-containers,volume-locality,fewest-build-containers]
value:
[
limit-active-containers,
limit-active-volumes,
volume-locality,
fewest-build-containers,
]

- type: replace
path: /instance_groups/name=web/jobs/name=web/properties/max_active_containers_per_worker?
value: ((max_active_containers_per_worker))

- type: replace
path: /instance_groups/name=web/jobs/name=web/properties/max_active_volumes_per_worker?
value: ((max_active_volumes_per_worker))
1 change: 1 addition & 0 deletions variables/development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ iaas_worker_instances: 1
build_logs_default: 25
build_logs_maximum: 0
max_active_containers_per_worker: 50
max_active_volumes_per_worker: 100
1 change: 1 addition & 0 deletions variables/production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,4 @@ iaas_worker_instances: 2
build_logs_default: 25
build_logs_maximum: 0
max_active_containers_per_worker: 200
max_active_volumes_per_worker: 400
1 change: 1 addition & 0 deletions variables/staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,4 @@ iaas_worker_instances: 1
build_logs_default: 25
build_logs_maximum: 0
max_active_containers_per_worker: 100
max_active_volumes_per_worker: 200

0 comments on commit 2460929

Please sign in to comment.