From cd6cd1056ea0499473a411f3008f6f1c58d9f1f0 Mon Sep 17 00:00:00 2001 From: Douglas Duteil Date: Thu, 22 Apr 2021 16:31:56 +0200 Subject: [PATCH] build(k8s): set the hpa to scale if 100% of 500m is used --- .k8s/components/serving-ml.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.k8s/components/serving-ml.ts b/.k8s/components/serving-ml.ts index 981be176..3e35e593 100644 --- a/.k8s/components/serving-ml.ts +++ b/.k8s/components/serving-ml.ts @@ -63,7 +63,7 @@ const hpa = new HorizontalPodAutoscaler({ resource: { name: "cpu", target: { - averageUtilization: 4000, + averageUtilization: 100, type: "Utilization", }, },