Skip to content

Commit d9e12ff

Browse files
author
Venkataraman
committed
Added variable for EKS Cluster
1 parent 2a26364 commit d9e12ff

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

modules/workloads/infra/otel-config/templates/opentelemetrycollector.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ spec:
1414
scrape_interval: {{ .Values.scrapeInterval }}
1515
scrape_timeout: {{ .Values.scrapeTimeout }}
1616
external_labels:
17-
cluster: eksworkshop-eksctl
17+
cluster: {{ .Values.ekscluster }}
1818
scrape_configs:
1919
- job_name: 'kubernetes-kubelet'
2020
scheme: https

modules/workloads/infra/otel-config/values.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@ prometheusMetricsPort: ${prometheus_metrics_port}
55
scrapeInterval: ${scrape_interval}
66
scrapeTimeout: ${scrape_timeout}
77
scrapeSampleLimit: ${scrape_sample_limit}
8+
ekscluster: ${eks_cluster}

0 commit comments

Comments
 (0)