Skip to content

Commit f862a02

Browse files
committed
feat(chart): add resources on otel collector container
1 parent 1d8ec38 commit f862a02

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

charts/eodag-server/templates/deployment.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,9 @@ spec:
210210
- name: config
211211
mountPath: /etc/otelcol-contrib/config.yaml
212212
subPath: otelcol_config.yml
213+
{{- if .Values.otel.collector.resources }}
214+
resources: {{- toYaml .Values.otel.collector.resources | nindent 12 }}
215+
{{- end }}
213216
{{- end }}
214217
{{- if .Values.sidecars }}
215218
{{- include "common.tplvalues.render" (dict "value" .Values.sidecars "context" $) | nindent 8 }}

charts/eodag-server/values.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ otel:
9494
image:
9595
registry: docker.io
9696
repository: otel/opentelemetry-collector-contrib
97-
tag: "0.95.0"
97+
tag: "0.104.0"
9898
ports:
9999
otlpReceiver: 4318
100100
prometheusExporter: 8000
@@ -103,6 +103,9 @@ otel:
103103
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
104104
##
105105
pullPolicy: IfNotPresent
106+
resources:
107+
limits: {}
108+
requests: {}
106109
serviceMonitor:
107110
## @param otel.serviceMonitor.enabled if `true`, creates a Prometheus Operator PodMonitor
108111
##

0 commit comments

Comments
 (0)