choerodon/elasticsearch-exporter

Chart version: 0.1.0
Api version: v1
App version: 0.1.0
Elasticsearch stats exporter for Prometheus
application
Chart Type
Active
Status
Unknown
License
191
Downloads
https://openchart.choerodon.com.cn/choerodon/c7n
Set me up:
helm repo add center https://repo.chartcenter.io
Install Chart:
helm install elasticsearch-exporter center/choerodon/elasticsearch-exporter
Versions (0)

Elasticsearch Exporter

Prometheus exporter for various metrics about ElasticSearch, written in Go.

Learn more: https://github.com/justwatchcom/elasticsearch_exporter

TL;DR;

$ helm install stable/elasticsearch-exporter

Introduction

This chart creates an Elasticsearch-Exporter deployment on a Kubernetes cluster using the Helm package manager.

Prerequisites

  • Kubernetes 1.8+ with Beta APIs enabled

Installing the Chart

To install the chart with the release name my-release:

$ helm install --name my-release stable/elasticsearch-exporter

The command deploys Elasticsearch-Exporter on the Kubernetes cluster using the default configuration. The configuration section lists the parameters that can be configured during installation.

Uninstalling the Chart

To uninstall/delete the my-release deployment:

$ helm delete --purge my-release

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

Configuration

The following table lists the configurable parameters of the Elasticsearch-Exporter chart and their default values.

Parameter Description Default
replicaCount desired number of pods 1
restartPolicy container restart policy Always
image.repository container image repository justwatch/elasticsearch_exporter
image.tag container image tag 1.0.2
image.pullPolicy container image pull policy IfNotPresent
resources resource requests & limits {}
priorityClassName priorityClassName nil
nodeSelector Node labels for pod assignment {}
tolerations Node tolerations for pod assignment {}
podAnnotations Pod annotations {}
service.type type of service to create ClusterIP
service.httpPort port for the http service 9108
service.annotations Annotations on the http service {}
es.uri address of the Elasticsearch node to connect to localhost:9200
es.all if true, query stats for all nodes in the cluster, rather than just the node we connect to true
es.indices if true, query stats for all indices in the cluster true
es.timeout timeout for trying to get stats from Elasticsearch 30s
es.ssl.enabled If true, a secure connection to E cluster is used false
es.ssl.client.ca.pem PEM that contains trusted CAs used for setting up secure Elasticsearch connection
es.ssl.client.pem PEM that contains the client cert to connect to Elasticsearch
es.ssl.client.key Private key for client auth when connecting to Elasticsearch
web.path path under which to expose metrics /metrics

Specify each parameter using the --set key=value[,key=value] argument to helm install. For example,

$ helm install --name my-release \
    --set key_1=value_1,key_2=value_2 \
    stable/elasticsearch-exporter

Alternatively, a YAML file that specifies the values for the parameters can be provided while installing the chart. For example,

# example for staging
$ helm install --name my-release -f values.yaml stable/elasticsearch-exporter

Tip: You can use the default values.yaml