Skip to content

Commit

Permalink
Merge pull request #9 from ToolJet/fix-hpa
Browse files Browse the repository at this point in the history
Fix for HPA file
  • Loading branch information
akshaysasidrn authored Jun 16, 2023
2 parents f40774a + d6dea7c commit 3dcda90
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion charts/tooljet/templates/hpa.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
apiVersion: autoscaling/v2beta1
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2
kind: HorizontalPodAutoscaler
metadata:
name: tooljet
Expand All @@ -14,7 +15,10 @@ spec:
resource:
name: cpu
targetAverageValue: {{ .Values.apps.tooljet.hpa.threshhold.cpu }}
targetType: AverageValue
- type: Resource
resource:
name: memory
targetAverageValue: {{ .Values.apps.tooljet.hpa.threshhold.ram }}
targetType: AverageValue
{{- end }}

0 comments on commit 3dcda90

Please sign in to comment.