Skip to content

Commit

Permalink
fix: upgrade hpa with v2beta2 api version (#1760)
Browse files Browse the repository at this point in the history
* fix: upgrade hpa with v2beta2 api version

Signed-off-by: jagadeesh <[email protected]>

* Trigger Build

* Trigger Build

Signed-off-by: jagadeesh <[email protected]>
Co-authored-by: Mark Saroufim <[email protected]>
  • Loading branch information
Jagadeesh J and msaroufim authored Oct 3, 2022
1 parent 23a7671 commit bb5ac4b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions kubernetes/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
kind: HorizontalPodAutoscaler
apiVersion: autoscaling/v2beta1
apiVersion: autoscaling/v2beta2
metadata:
name: torchserve
spec:
Expand All @@ -13,5 +13,8 @@ spec:
metrics:
- type: External
external:
metricName: ts_queue_latency_microseconds
targetValue: "7000000m"
metric:
name: ts_queue_latency_microseconds
target:
type: Value
value: 7000000m

0 comments on commit bb5ac4b

Please sign in to comment.