From a588fed2b2c8af8a52af9cbf4110a64a57a48b6b Mon Sep 17 00:00:00 2001 From: Ashwani Singh Date: Mon, 2 Sep 2024 22:22:07 +0530 Subject: [PATCH 1/4] Create wrapper helmchart for tempo standalone --- charts/tempo-standalone/Chart.yaml | 14 ++++++++++++++ charts/tempo-standalone/values.yaml | 18 ++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 charts/tempo-standalone/Chart.yaml create mode 100644 charts/tempo-standalone/values.yaml diff --git a/charts/tempo-standalone/Chart.yaml b/charts/tempo-standalone/Chart.yaml new file mode 100644 index 00000000..4a7eecbf --- /dev/null +++ b/charts/tempo-standalone/Chart.yaml @@ -0,0 +1,14 @@ +apiVersion: v2 +name: opentelemetry-operator +description: A Helm chart for Opentelemetry Operator +type: application +version: 1.0.0 +appVersion: 1.0.0 +dependencies: + - name: tempo + version: 1.10.1 + repository: https://grafana.github.io/helm-charts + alias: tempo + tags: + - tempo + condition: tempo.enabled \ No newline at end of file diff --git a/charts/tempo-standalone/values.yaml b/charts/tempo-standalone/values.yaml new file mode 100644 index 00000000..58bb9339 --- /dev/null +++ b/charts/tempo-standalone/values.yaml @@ -0,0 +1,18 @@ +tempo: + enabled: true + fullnameOverride: tempo + tempo: + retention: 168h + resources: + requests: + cpu: 1 + memory: 2Gi + limits: + cpu: 1 + memory: 2Gi + + persistence: + enabled: true + + serviceMonitor: + enabled: true \ No newline at end of file From ebdeecba527a6b4504f0a3adb270be62afc99426 Mon Sep 17 00:00:00 2001 From: Ashwani Singh Date: Mon, 2 Sep 2024 22:23:07 +0530 Subject: [PATCH 2/4] Fix the helm chart name --- charts/tempo-standalone/Chart.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/charts/tempo-standalone/Chart.yaml b/charts/tempo-standalone/Chart.yaml index 4a7eecbf..7d5fa026 100644 --- a/charts/tempo-standalone/Chart.yaml +++ b/charts/tempo-standalone/Chart.yaml @@ -1,6 +1,6 @@ apiVersion: v2 -name: opentelemetry-operator -description: A Helm chart for Opentelemetry Operator +name: tempo-standalone +description: A Helm chart for tempo standalone type: application version: 1.0.0 appVersion: 1.0.0 From 9df77202eee1131c5d9579538e8e7e6c7ba6ba4c Mon Sep 17 00:00:00 2001 From: Ashwani Singh Date: Mon, 2 Sep 2024 22:27:02 +0530 Subject: [PATCH 3/4] Example yaml for tempo --- charts/tempo-standalone/examples/values.yaml | 25 ++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 charts/tempo-standalone/examples/values.yaml diff --git a/charts/tempo-standalone/examples/values.yaml b/charts/tempo-standalone/examples/values.yaml new file mode 100644 index 00000000..5d4c5126 --- /dev/null +++ b/charts/tempo-standalone/examples/values.yaml @@ -0,0 +1,25 @@ +itempo: + enabled: true + fullnameOverride: tempo + tempo: + retention: 168h + resources: + requests: + cpu: 1 + memory: 2Gi + limits: + cpu: 1 + memory: 2Gi + securityContext: + privileged: true + runAsUser: 0 + metricsGenerator: + enabled: true + remoteWriteUrl: "http://otel-prometheus.monitoring:9090/api/v1/write" + + persistence: + enabled: true + storageClassName: buildpiper-storage + + serviceMonitor: + enabled: true \ No newline at end of file From 390384678605655ff1d419d95a3d65fcb14399d3 Mon Sep 17 00:00:00 2001 From: Ashwani Singh Date: Mon, 2 Sep 2024 22:27:35 +0530 Subject: [PATCH 4/4] Fix the typo --- charts/tempo-standalone/examples/values.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/charts/tempo-standalone/examples/values.yaml b/charts/tempo-standalone/examples/values.yaml index 5d4c5126..a22ce2e7 100644 --- a/charts/tempo-standalone/examples/values.yaml +++ b/charts/tempo-standalone/examples/values.yaml @@ -1,4 +1,4 @@ -itempo: +tempo: enabled: true fullnameOverride: tempo tempo: