File tree Expand file tree Collapse file tree 14 files changed +902
-564
lines changed
helm/testdata/goldenfile/metrics_collector_otc Expand file tree Collapse file tree 14 files changed +902
-564
lines changed Original file line number Diff line number Diff line change 1+ feat(HPA): Adds autoscaling config
Load Diff Large diffs are not rendered by default.
Original file line number Diff line number Diff line change 1616 name : {{ template "sumologic.metadata.name.otelcolinstrumentation.statefulset" . }}
1717 minReplicas : {{ $otelcolInstrumentation.autoscaling.minReplicas }}
1818 maxReplicas : {{ $otelcolInstrumentation.autoscaling.maxReplicas }}
19+ {{- if $otelcolInstrumentation.autoscaling.behavior }}
20+ behavior :
21+ {{- toYaml $otelcolInstrumentation.autoscaling.behavior | nindent 4 }}
22+ {{- end }}
1923 metrics :
2024{{- if $otelcolInstrumentation.autoscaling.targetMemoryUtilizationPercentage }}
2125 - type : Resource
Original file line number Diff line number Diff line change 1616 name : {{ template "sumologic.metadata.name.tracesgateway.deployment" . }}
1717 minReplicas : {{ $tracesGateway.autoscaling.minReplicas }}
1818 maxReplicas : {{ $tracesGateway.autoscaling.maxReplicas }}
19+ {{- if $tracesGateway.autoscaling.behavior }}
20+ behavior :
21+ {{- toYaml $tracesGateway.autoscaling.behavior | nindent 4 }}
22+ {{- end }}
1923 metrics :
2024{{- if $tracesGateway.autoscaling.targetMemoryUtilizationPercentage }}
2125 - type : Resource
Original file line number Diff line number Diff line change 1414 name : {{ template "sumologic.metadata.name.logs.statefulset" . }}
1515 minReplicas : {{ .Values.metadata.logs.autoscaling.minReplicas }}
1616 maxReplicas : {{ .Values.metadata.logs.autoscaling.maxReplicas }}
17+ {{- if .Values.metadata.logs.autoscaling.behavior }}
18+ behavior :
19+ {{- toYaml .Values.metadata.logs.autoscaling.behavior | nindent 4 }}
20+ {{- end }}
1721 metrics :
1822{{- if .Values.metadata.logs.autoscaling.targetMemoryUtilizationPercentage }}
1923 - type : Resource
Original file line number Diff line number Diff line change 9595{{- if .Values.sumologic.metrics.collector.otelcol.autoscaling.targetMemoryUtilizationPercentage }}
9696 targetMemoryUtilization : {{ .Values.sumologic.metrics.collector.otelcol.autoscaling.targetMemoryUtilizationPercentage }}
9797{{- end }}
98+ {{- if .Values.sumologic.metrics.collector.otelcol.autoscaling.behavior }}
99+ behavior :
100+ {{ toYaml .Values.sumologic.metrics.collector.otelcol.autoscaling.behavior | indent 6 }}
101+ {{- end }}
98102{{- end }}
99103 env :
100104 - name : METADATA_METRICS_SVC
Original file line number Diff line number Diff line change 1414 name : {{ template "sumologic.metadata.name.metrics.statefulset" . }}
1515 minReplicas : {{ .Values.metadata.metrics.autoscaling.minReplicas }}
1616 maxReplicas : {{ .Values.metadata.metrics.autoscaling.maxReplicas }}
17+ {{- if .Values.metadata.metrics.autoscaling.behavior }}
18+ behavior :
19+ {{- toYaml .Values.metadata.metrics.autoscaling.behavior | nindent 4 }}
20+ {{- end }}
1721 metrics :
1822{{- if .Values.metadata.metrics.autoscaling.targetMemoryUtilizationPercentage }}
1923 - type : Resource
Original file line number Diff line number Diff line change @@ -518,6 +518,7 @@ sumologic:
518518 maxReplicas : 10
519519 targetCPUUtilizationPercentage : 70
520520 targetMemoryUtilizationPercentage : 70
521+ behavior : {}
521522
522523 nodeSelector : {}
523524
@@ -1388,6 +1389,7 @@ otelcolInstrumentation:
13881389 maxReplicas : 10
13891390 targetCPUUtilizationPercentage : 100
13901391 # targetMemoryUtilizationPercentage: 50
1392+ behavior : {}
13911393
13921394 statefulset :
13931395 nodeSelector : {}
@@ -1706,6 +1708,7 @@ metadata:
17061708 maxReplicas : 10
17071709 targetCPUUtilizationPercentage : 80
17081710 # targetMemoryUtilizationPercentage: 50
1711+ behavior : {}
17091712
17101713 # # Option to specify PodDisrutionBudgets
17111714 # # You can specify only one of maxUnavailable and minAvailable in a single PodDisruptionBudget
@@ -1824,6 +1827,7 @@ metadata:
18241827 maxReplicas : 10
18251828 targetCPUUtilizationPercentage : 80
18261829 # targetMemoryUtilizationPercentage: 50
1830+ behavior : {}
18271831
18281832 # # Option to specify PodDisrutionBudgets
18291833 # # You can specify only one of maxUnavailable and minAvailable in a single PodDisruptionBudget
@@ -1845,6 +1849,7 @@ tracesGateway:
18451849 maxReplicas : 10
18461850 targetCPUUtilizationPercentage : 100
18471851 # targetMemoryUtilizationPercentage: 50
1852+ behavior : {}
18481853
18491854 deployment :
18501855 replicas : 1
Original file line number Diff line number Diff line change 33 collector :
44 print : true
55 stopLogsIngestion : true
6+
7+ sumologic :
8+ metrics :
9+ collector :
10+ otelcol :
11+ enabled : true
12+ autoscaling :
13+ enabled : true
14+ behavior :
15+ scaleUp :
16+ stabilizationWindowSeconds : 60
17+ policies :
18+ - type : Percent
19+ value : 100
20+ periodSeconds : 60
21+ scaleDown :
22+ stabilizationWindowSeconds : 60
23+ policies :
24+ - type : Percent
25+ value : 100
26+ periodSeconds : 60
Original file line number Diff line number Diff line change 4242 minReplicas : 1
4343 targetCPUUtilization : 70
4444 targetMemoryUtilization : 70
45+ behavior :
46+ scaleUp :
47+ stabilizationWindowSeconds : 60
48+ policies :
49+ - type : Percent
50+ value : 100
51+ periodSeconds : 60
52+ scaleDown :
53+ stabilizationWindowSeconds : 60
54+ policies :
55+ - type : Percent
56+ value : 100
57+ periodSeconds : 60
58+
4559 env :
4660 - name : METADATA_METRICS_SVC
4761 valueFrom :
You can’t perform that action at this time.
0 commit comments