From 62526797998fc7bfdaf1be929da33d5b698d26dc Mon Sep 17 00:00:00 2001 From: Dominik Rosiek Date: Thu, 20 Aug 2020 11:15:23 +0200 Subject: [PATCH] Add telegraf operator helm chart --- deploy/helm/sumologic/requirements.yaml | 4 ++++ deploy/helm/sumologic/values.yaml | 17 +++++++++++++++++ vagrant/values.yaml | 3 +++ 3 files changed, 24 insertions(+) diff --git a/deploy/helm/sumologic/requirements.yaml b/deploy/helm/sumologic/requirements.yaml index 55a28dab1a..9c4efe1c4c 100644 --- a/deploy/helm/sumologic/requirements.yaml +++ b/deploy/helm/sumologic/requirements.yaml @@ -16,3 +16,7 @@ dependencies: version: 2.11.1 repository: https://kubernetes-charts.storage.googleapis.com/ condition: metrics-server.enabled + - name: telegraf-operator + version: 1.1.4 + repository: https://sumologic.github.io/influxdata-helm-charts + condition: telegraf-operator.enabled diff --git a/deploy/helm/sumologic/values.yaml b/deploy/helm/sumologic/values.yaml index 27ae8d16f0..6b53256dff 100644 --- a/deploy/helm/sumologic/values.yaml +++ b/deploy/helm/sumologic/values.yaml @@ -1537,3 +1537,20 @@ otelcol: receivers: [jaeger, opencensus, otlp, zipkin] processors: [memory_limiter, k8s_tagger, source, resource, batch, queued_retry] exporters: [zipkin] + +## Configure telegraf-operator +## This is an experimental configuration and shouldn't be used in production environment +## ref: https://github.com/influxdata/helm-charts/blob/master/charts/telegraf-operator/values.yaml +telegraf-operator: + enabled: false + replicaCount: 1 + classes: + secretName: "telegraf-operator-classes" + default: "sumologic-prometheus" + data: + sumologic-prometheus: | + [[outputs.prometheus_client]] + ## Configuration details: + ## https://github.com/influxdata/telegraf/tree/master/plugins/outputs/prometheus_client#configuration + listen = ":9273" + metric_version = 2 diff --git a/vagrant/values.yaml b/vagrant/values.yaml index 41b1927dc5..be5435a3f4 100644 --- a/vagrant/values.yaml +++ b/vagrant/values.yaml @@ -23,3 +23,6 @@ sumologic: accessId: dummy accessKey: dummy endpoint: http://receiver-mock.receiver-mock:3000/terraform/api/ +telegraf-operator: + enabled: true + replicaCount: 1