-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable vllm autoscaling with cmsa (#825)
* enable vllm autoscaling with cmsa * small fixes * fmt
- Loading branch information
1 parent
dff2b93
commit 6e48fd5
Showing
4 changed files
with
95 additions
and
0 deletions.
There are no files selected for viewing
20 changes: 20 additions & 0 deletions
20
benchmarks/inference-server/vllm/hpa-templates/hpa.vllm.custom_metric.yaml.tftpl
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
apiVersion: autoscaling/v2 | ||
kind: HorizontalPodAutoscaler | ||
metadata: | ||
name: vllm | ||
namespace: ${namespace} | ||
spec: | ||
scaleTargetRef: | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
name: vllm | ||
minReplicas: ${hpa_min_replicas} | ||
maxReplicas: ${hpa_max_replicas} | ||
metrics: | ||
- type: Pods | ||
pods: | ||
metric: | ||
name: prometheus.googleapis.com|${custom_metric_name}|gauge | ||
target: | ||
type: AverageValue | ||
averageValue: ${hpa_averagevalue_target} |
This file contains 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
This file contains 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
This file contains 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