Skip to content

Commit

Permalink
support additional env variables like GOMEMLIMIT
Browse files Browse the repository at this point in the history
  • Loading branch information
hobord committed Oct 11, 2024
1 parent 4fcbdd6 commit 7d1208b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion charts/doit-eks-lens/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ apiVersion: v2
name: doit-eks-lens
description: A Helm chart for DoiT EKS lens
type: application
version: 1.0.3
version: 1.0.4
appVersion: "0.0.1"
4 changes: 4 additions & 0 deletions charts/doit-eks-lens/templates/doit-otelcol.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -394,6 +394,10 @@ spec:
fieldPath: metadata.namespace
- name: KUBERNETES_CLUSTER_DOMAIN
value: "cluster.local"
{{- range .Values.collector.otelcol.env }}
- name: {{ .name }}
value: {{ .value }}
{{- end }}
image: {{ .Values.collector.otelcol.image.repository }}:{{ .Values.collector.otelcol.image.tag }}
imagePullPolicy: IfNotPresent
livenessProbe:
Expand Down
3 changes: 3 additions & 0 deletions charts/doit-eks-lens/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ collector:
check_interval: 1s
limit_percentage: 70
spike_limit_percentage: 30
env:
# - name: "GOMEMLIMIT"
# value: "2750MiB"

metricsDeploymentId: xxxxxxxxx
s3_bucket: "doitintl-eks-metrics-xxxxxxxx-us-east-1"
Expand Down

0 comments on commit 7d1208b

Please sign in to comment.