From a8a948998cd12c5bfbb24a1fcf123901c70cb1c0 Mon Sep 17 00:00:00 2001 From: Santo Cariotti Date: Wed, 15 Jan 2025 18:06:10 +0100 Subject: Add resources for cas deployment --- yaml/networking/balance.yaml | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) (limited to 'yaml/networking') diff --git a/yaml/networking/balance.yaml b/yaml/networking/balance.yaml index dd0f17b..a2367e7 100644 --- a/yaml/networking/balance.yaml +++ b/yaml/networking/balance.yaml @@ -10,28 +10,28 @@ spec: minReplicas: 1 maxReplicas: 10 metrics: - - type: Resource - resource: - name: cpu - target: - type: Utilization - averageUtilization: 70 - - type: Resource - resource: - name: memory - target: - type: Utilization - averageUtilization: 80 + - type: Resource + resource: + name: cpu + target: + type: Utilization + averageUtilization: 70 + - type: Resource + resource: + name: memory + target: + type: Utilization + averageUtilization: 70 behavior: scaleUp: stabilizationWindowSeconds: 60 policies: - - type: Percent - value: 100 - periodSeconds: 15 + - type: Percent + value: 100 + periodSeconds: 15 scaleDown: stabilizationWindowSeconds: 300 policies: - - type: Percent - value: 100 - periodSeconds: 15 + - type: Percent + value: 100 + periodSeconds: 15 -- cgit v1.2.3-18-g5258