Skip to content

Commit

Permalink
Remove HPA behavior specification
Browse files Browse the repository at this point in the history
Signed-off-by: Ivan P <2119240+i5okie@users.noreply.github.com>
  • Loading branch information
i5okie committed Aug 28, 2024
1 parent 7b59a8b commit 6211fef
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 12 deletions.
2 changes: 0 additions & 2 deletions charts/traction/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 | `{}` |
Expand Down
3 changes: 0 additions & 3 deletions charts/traction/templates/acapy/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,4 @@ spec:
averageUtilization: {{ .Values.acapy.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- end }}
behavior:
scaleDown:
stabilizationWindowSeconds: {{ .Values.acapy.autoscaling.stabilizationWindowSeconds }}
{{- end }}
3 changes: 0 additions & 3 deletions charts/traction/templates/proxy/hpa.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,4 @@ spec:
averageUtilization: {{ .Values.tenant_proxy.autoscaling.targetMemoryUtilizationPercentage }}
{{- end }}
{{- end }}
behavior:
scaleDown:
stabilizationWindowSeconds: {{ .Values.tenant_proxy.autoscaling.stabilizationWindowSeconds }}
{{- end }}
4 changes: 0 additions & 4 deletions charts/traction/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,13 @@ 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
minReplicas: 1
maxReplicas: 3
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
stabilizationWindowSeconds: 300

## @param acapy.labelOverride
labelOverride: ""
Expand Down Expand Up @@ -465,15 +463,13 @@ 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
minReplicas: 1
maxReplicas: 3
targetCPUUtilizationPercentage: 80
targetMemoryUtilizationPercentage: 80
stabilizationWindowSeconds: 300

## @param tenant_proxy.podAnnotations Map of annotations to add to the Tenant proxy pods
##
Expand Down

0 comments on commit 6211fef

Please sign in to comment.