From bb5ac4bea396db9e7f597092d8fc8a0a5f77b961 Mon Sep 17 00:00:00 2001 From: Jagadeesh J Date: Mon, 3 Oct 2022 23:03:59 +0530 Subject: [PATCH] fix: upgrade hpa with v2beta2 api version (#1760) * fix: upgrade hpa with v2beta2 api version Signed-off-by: jagadeesh * Trigger Build * Trigger Build Signed-off-by: jagadeesh Co-authored-by: Mark Saroufim --- kubernetes/hpa.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/kubernetes/hpa.yaml b/kubernetes/hpa.yaml index 64671eb3c5..c1d9a5ddc1 100644 --- a/kubernetes/hpa.yaml +++ b/kubernetes/hpa.yaml @@ -1,5 +1,5 @@ kind: HorizontalPodAutoscaler -apiVersion: autoscaling/v2beta1 +apiVersion: autoscaling/v2beta2 metadata: name: torchserve spec: @@ -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