File tree Expand file tree Collapse file tree
opentelemetry-collector/chart Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -429,5 +429,11 @@ OPENTELEMETRY_COLLECTOR_OTLP_API_ENDPOINT=https://fake-jaeger/v1/traces
429429OPENTELEMETRY_COLLECTOR_OTLP_API_TOKEN=Bearer fakeJaegerIDToken
430430
431431# The Host of the Opentelemetry Collector
432- OPENTELEMETRY_COLLECTOR_INGRESS_HOST=https://fake.opentelemetry-collector.com
432+ OPENTELEMETRY_COLLECTOR_INGRESS_HOST=fake.opentelemetry-collector.com
433+
434+ # Resource requests and limits for the Opentelemetry Collector
435+ OPENTELEMETRY_COLLECTOR_CPU_REQUEST=200m
436+ OPENTELEMETRY_COLLECTOR_MEMORY_REQUEST=128Mi
437+ OPENTELEMETRY_COLLECTOR_CPU_LIMIT=1
438+ OPENTELEMETRY_COLLECTOR_MEMORY_LIMIT=256Mi
433439
Original file line number Diff line number Diff line change 3434 - name : {{ .name }}
3535 mountPath : " {{ .mountPath }}"
3636 {{- end }}
37+ resources :
38+ requests :
39+ cpu : {{ .Values.collector.resources.requests.cpu | quote }}
40+ memory : {{ .Values.collector.resources.requests.memory | quote }}
41+ limits :
42+ cpu : {{ .Values.collector.resources.limits.cpu | quote }}
43+ memory : {{ .Values.collector.resources.limits.memory | quote }}
3744 volumes :
3845 {{- range .Values.collector.volumes }}
3946 - name : {{ .name }}
Original file line number Diff line number Diff line change 1+ apiVersion : image.openshift.io/v1
2+ kind : ImageStream
3+ metadata :
4+ labels :
5+ app : {{ .Values.collector.name }}
6+ name : {{ .Values.collector.name }}
7+ spec :
8+ lookupPolicy :
9+ local : false
Original file line number Diff line number Diff line change 11global:
2- registry: $ODS_REGISTRY
2+ registry: $DOCKER_REGISTRY
33 odsImageTag: $ODS_IMAGE_TAG
44 repoBase: $REPO_BASE
55 odsBitBucketProject: $ODS_BITBUCKET_PROJECT
@@ -48,6 +48,13 @@ collector:
4848 - key: otel-collector-config
4949 path: otel-collector-config.yaml
5050 defaultMode: 420
51+ resources:
52+ requests:
53+ cpu: $OPENTELEMETRY_COLLECTOR_CPU_REQUEST
54+ memory: $OPENTELEMETRY_COLLECTOR_MEMORY_REQUEST
55+ limits:
56+ cpu: $OPENTELEMETRY_COLLECTOR_CPU_LIMIT
57+ memory: $OPENTELEMETRY_COLLECTOR_MEMORY_LIMIT
5158service:
5259 name: opentelemetry-collector-service
5360 port: 4318
You can’t perform that action at this time.
0 commit comments