Skip to content

Commit

Permalink
feat(chart): add resources on otel collector container
Browse files Browse the repository at this point in the history
  • Loading branch information
alambare authored and jlahovnik committed Aug 27, 2024
1 parent e6e0dfb commit de91095
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions charts/eodag-server/templates/deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -210,6 +210,9 @@ spec:
- name: config
mountPath: /etc/otelcol-contrib/config.yaml
subPath: otelcol_config.yml
{{- if .Values.otel.collector.resources }}
resources: {{- toYaml .Values.otel.collector.resources | nindent 12 }}
{{- end }}
{{- end }}
{{- if .Values.sidecars }}
{{- include "common.tplvalues.render" (dict "value" .Values.sidecars "context" $) | nindent 8 }}
Expand Down
5 changes: 4 additions & 1 deletion charts/eodag-server/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ otel:
image:
registry: docker.io
repository: otel/opentelemetry-collector-contrib
tag: "0.95.0"
tag: "0.104.0"
ports:
otlpReceiver: 4318
prometheusExporter: 8000
Expand All @@ -103,6 +103,9 @@ otel:
## ref: https://kubernetes.io/docs/user-guide/images/#pre-pulling-images
##
pullPolicy: IfNotPresent
resources:
limits: {}
requests: {}
serviceMonitor:
## @param otel.serviceMonitor.enabled if `true`, creates a Prometheus Operator PodMonitor
##
Expand Down

0 comments on commit de91095

Please sign in to comment.