From 6211fef2fd20691a8892de798216e800857cef34 Mon Sep 17 00:00:00 2001 From: Ivan P <2119240+i5okie@users.noreply.github.com> Date: Wed, 28 Aug 2024 16:15:09 -0700 Subject: [PATCH] Remove HPA behavior specification Signed-off-by: Ivan P <2119240+i5okie@users.noreply.github.com> --- charts/traction/README.md | 2 -- charts/traction/templates/acapy/hpa.yaml | 3 --- charts/traction/templates/proxy/hpa.yaml | 3 --- charts/traction/values.yaml | 4 ---- 4 files changed, 12 deletions(-) diff --git a/charts/traction/README.md b/charts/traction/README.md index 350ead8f1..e20c4ddee 100644 --- a/charts/traction/README.md +++ b/charts/traction/README.md @@ -70,7 +70,6 @@ kubectl delete secret,pvc --selector "app.kubernetes.io/instance"=my-release | `acapy.autoscaling.maxReplicas` | Maximum number of AcaPy replicas | `10` | | `acapy.autoscaling.targetCPUUtilizationPercentage` | Target CPU utilization percentage | `80` | | `acapy.autoscaling.targetMemoryUtilizationPercentage` | Target Memory utilization percentage | `80` | -| `acapy.autoscaling.stabilizationWindowSeconds` | Stabilization window in seconds | `300` | | `acapy.labelOverride` | | `""` | ### Acapy configuration file @@ -253,7 +252,6 @@ kubectl delete secret,pvc --selector "app.kubernetes.io/instance"=my-release | `tenant_proxy.autoscaling.maxReplicas` | Maximum number of Tenant proxy replicas | `5` | | `tenant_proxy.autoscaling.targetCPUUtilizationPercentage` | Target CPU utilization percentage | `80` | | `tenant_proxy.autoscaling.targetMemoryUtilizationPercentage` | Target Memory utilization percentage | `80` | -| `tenant_proxy.autoscaling.stabilizationWindowSeconds` | Stabilization window in seconds | `300` | | `tenant_proxy.podAnnotations` | Map of annotations to add to the Tenant proxy pods | `{}` | | `tenant_proxy.podSecurityContext` | Pod Security Context | `{}` | | `tenant_proxy.containerSecurityContext` | Container Security Context | `{}` | diff --git a/charts/traction/templates/acapy/hpa.yaml b/charts/traction/templates/acapy/hpa.yaml index da13de8bb..55a9de52f 100644 --- a/charts/traction/templates/acapy/hpa.yaml +++ b/charts/traction/templates/acapy/hpa.yaml @@ -37,7 +37,4 @@ spec: averageUtilization: {{ .Values.acapy.autoscaling.targetMemoryUtilizationPercentage }} {{- end }} {{- end }} - behavior: - scaleDown: - stabilizationWindowSeconds: {{ .Values.acapy.autoscaling.stabilizationWindowSeconds }} {{- end }} diff --git a/charts/traction/templates/proxy/hpa.yaml b/charts/traction/templates/proxy/hpa.yaml index c775ddc1b..8a4754c68 100644 --- a/charts/traction/templates/proxy/hpa.yaml +++ b/charts/traction/templates/proxy/hpa.yaml @@ -37,7 +37,4 @@ spec: averageUtilization: {{ .Values.tenant_proxy.autoscaling.targetMemoryUtilizationPercentage }} {{- end }} {{- end }} - behavior: - scaleDown: - stabilizationWindowSeconds: {{ .Values.tenant_proxy.autoscaling.stabilizationWindowSeconds }} {{- end }} diff --git a/charts/traction/values.yaml b/charts/traction/values.yaml index 99c401673..c105c22fe 100644 --- a/charts/traction/values.yaml +++ b/charts/traction/values.yaml @@ -43,7 +43,6 @@ acapy: ## @param acapy.autoscaling.maxReplicas Maximum number of AcaPy replicas ## @param acapy.autoscaling.targetCPUUtilizationPercentage Target CPU utilization percentage ## @param acapy.autoscaling.targetMemoryUtilizationPercentage Target Memory utilization percentage - ## @param acapy.autoscaling.stabilizationWindowSeconds Stabilization window in seconds ## autoscaling: enabled: false @@ -51,7 +50,6 @@ acapy: maxReplicas: 3 targetCPUUtilizationPercentage: 80 targetMemoryUtilizationPercentage: 80 - stabilizationWindowSeconds: 300 ## @param acapy.labelOverride labelOverride: "" @@ -465,7 +463,6 @@ tenant_proxy: ## @param tenant_proxy.autoscaling.maxReplicas Maximum number of Tenant proxy replicas ## @param tenant_proxy.autoscaling.targetCPUUtilizationPercentage Target CPU utilization percentage ## @param tenant_proxy.autoscaling.targetMemoryUtilizationPercentage Target Memory utilization percentage - ## @param tenant_proxy.autoscaling.stabilizationWindowSeconds Stabilization window in seconds ## autoscaling: enabled: false @@ -473,7 +470,6 @@ tenant_proxy: maxReplicas: 3 targetCPUUtilizationPercentage: 80 targetMemoryUtilizationPercentage: 80 - stabilizationWindowSeconds: 300 ## @param tenant_proxy.podAnnotations Map of annotations to add to the Tenant proxy pods ##