influxdata/telegraf-operator

Chart version: 1.1.5
Api version: v2
App version: v1.1.1
A Helm chart for Kubernetes to deploy telegraf-operator
application
Chart Type
Active
Status
Unknown
License
700
Downloads
https://helm.influxdata.com
Set me up:
helm repo add center https://repo.chartcenter.io
Install Chart:
helm install telegraf-operator center/influxdata/telegraf-operator
Versions (0)

Telegraf-operator Helm chart

Default installation expects cert-manager to be running in the cluster.

Prerequisites

  • Helm v2 or later
  • Kubernetes 1.11+ with Beta APIs enabled

Install the chart

  1. Add the InfluxData Helm repository:
   helm repo add influxdata https://helm.influxdata.com/
  1. Run the following command, providing a name for your release:
   helm upgrade --install my-release influxdata/telegraf-operator

Tip: --install can be shortened to -i.

This command deploys Telegraf-operator on the Kubernetes cluster using the default configuration. To find parameters you can configure during installation, see Configure the chart.

Tip: To view all Helm chart releases, run helm list.

Uninstall the chart

To uninstall the my-release deployment, use the following command:

helm uninstall my-release

This command removes all the Kubernetes components associated with the chart and deletes the release.

Configure the chart

Configurable parameters, their descriptions, and their default values are stored in values.yaml.

To configure the chart, do either of the following:

  • Specify each parameter using the --set key=value[,key=value] argument to helm upgrade --install. For example, use the following command:
  helm upgrade --install my-release \
  --set persistence.enabled=true \
    influxdata/telegraf-operator

This command enables persistence.

  • Provide a YAML file that specifies parameter values while installing the chart. For example, use the following command:
  helm upgrade --install my-release -f values.yaml influxdata/telegraf-operator

Tip: Use the default values.yaml.

For information about running Telegraf-operator in Docker, see the full image documentation.

Contribute to the chart

helm template --namespace=telegraf-operator telegraf-operator .

Test installation with Kind

kind create cluster --name=telegraf-operator-test
kubectl config use-context kind-telegraf-operator-test
kubectl apply -f tests/influxdb.yml
helm install telegraf-operator .
kubectl apply -f tests/redis.yml
kind delete cluster --name=telegraf-operator-test

Cert-manager integration

For better security there is already an integration with cert-manger >0.13 that can be enabled but you have to provide your own instalation of cert-manager in the cluster