Skip to content
Snippets Groups Projects
Unverified Commit 33309b9c authored by Daniel Ecer's avatar Daniel Ecer Committed by GitHub
Browse files

disable hpa by default (#3)

parent 4f493e8e
No related branches found
No related tags found
No related merge requests found
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
......@@ -19,3 +20,4 @@ spec:
resource:
name: cpu
targetAverageUtilization: {{ .Values.autoscaling.targetAverageCpuUtilization }}
{{- end }}
......@@ -45,6 +45,7 @@ resources:
memory: 4Gi
autoscaling:
enabled: false
maxReplicas: 16
targetAverageCpuUtilization: 80 # default of HPA
......
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
......@@ -19,3 +20,4 @@ spec:
resource:
name: cpu
targetAverageUtilization: {{ .Values.autoscaling.targetAverageCpuUtilization }}
{{- end }}
......@@ -44,6 +44,7 @@ resources:
memory: 4Gi
autoscaling:
enabled: false
maxReplicas: 16
targetAverageCpuUtilization: 80 # HPA default
......
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
......@@ -19,3 +20,4 @@ spec:
resource:
name: cpu
targetAverageUtilization: {{ .Values.autoscaling.targetAverageCpuUtilization }}
{{- end }}
......@@ -59,6 +59,7 @@ resources:
memory: 1Gi
autoscaling:
enabled: false
maxReplicas: 16
targetAverageCpuUtilization: 80 # default of HPA
......
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
......@@ -19,3 +20,4 @@ spec:
resource:
name: cpu
targetAverageUtilization: {{ .Values.autoscaling.targetAverageCpuUtilization }}
{{- end }}
......@@ -45,6 +45,7 @@ resources:
memory: 4Gi
autoscaling:
enabled: false
maxReplicas: 16
targetAverageCpuUtilization: 80 # default of HPA
......
{{- if .Values.autoscaling.enabled }}
apiVersion: autoscaling/v2beta1
kind: HorizontalPodAutoscaler
metadata:
......@@ -19,3 +20,4 @@ spec:
resource:
name: cpu
targetAverageUtilization: {{ .Values.autoscaling.targetAverageCpuUtilization }}
{{- end }}
......@@ -45,6 +45,7 @@ resources:
memory: 4Gi
autoscaling:
enabled: false
maxReplicas: 16
targetAverageCpuUtilization: 80 # default of HPA
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment