File tree 2 files changed +31
-6
lines changed
2 files changed +31
-6
lines changed Original file line number Diff line number Diff line change
1
+ {{- if .Values.hpa.enabled }}
2
+ apiVersion : autoscaling/v1
3
+ kind : HorizontalPodAutoscaler
4
+ metadata :
5
+ name : {{ .Chart.Name }}
6
+ labels :
7
+ release : {{ .Release.Name }}
8
+ {{- with .Values.podLabels }}
9
+ {{- toYaml . | nindent 4 }}
10
+ {{- end }}
11
+ spec :
12
+ minReplicas : {{ int .Values.hpa.minReplicas }}
13
+ maxReplicas : {{ int .Values.hpa.maxReplicas }}
14
+ scaleTargetRef :
15
+ apiVersion : apps/v1
16
+ kind : Deployment
17
+ name : {{ .Chart.Name }}
18
+ targetCPUUtilizationPercentage : {{ int .Values.hpa.targetCPUUtilizationPercentage }}
19
+ {{- end }}
Original file line number Diff line number Diff line change @@ -134,19 +134,19 @@ configMap:
134
134
receivers :
135
135
otlp :
136
136
protocols :
137
- grpc :
137
+ grpc :
138
138
endpoint : " 0.0.0.0:4317"
139
- http :
139
+ http :
140
140
endpoint : " 0.0.0.0:55681"
141
- opencensus :
141
+ opencensus :
142
142
endpoint : " 0.0.0.0:55678"
143
- zipkin :
143
+ zipkin :
144
144
endpoint : " 0.0.0.0:9411"
145
145
jaeger :
146
146
protocols :
147
- grpc :
147
+ grpc :
148
148
endpoint : " 0.0.0.0:14250"
149
- thrift_http :
149
+ thrift_http :
150
150
endpoint : " 0.0.0.0:14268"
151
151
# Collect own metrics
152
152
prometheus :
@@ -175,6 +175,12 @@ configMap:
175
175
processors : [batch]
176
176
exporters : [kafka]
177
177
178
+ hpa :
179
+ enabled : false
180
+ minReplicas : 2
181
+ maxReplicas : 5
182
+ targetCPUUtilizationPercentage : 80
183
+
178
184
kafka-topic-creator :
179
185
jobName : jaeger-spans-kafka-topic-creator
180
186
helmHook : pre-install,pre-upgrade
You can’t perform that action at this time.
0 commit comments