mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/elasticsearch-exporter]: shards, snapshots, update to 1.1.0 (#16409)
Signed-off-by: Carlos Alexandro Becker <caarlos0@gmail.com>
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
39c93f97f2
commit
bbd37cb295
@@ -1,8 +1,8 @@
|
||||
apiVersion: v1
|
||||
description: Elasticsearch stats exporter for Prometheus
|
||||
name: elasticsearch-exporter
|
||||
version: 1.7.0
|
||||
appVersion: 1.0.2
|
||||
version: 1.8.0
|
||||
appVersion: 1.1.0
|
||||
home: https://github.com/justwatchcom/elasticsearch_exporter
|
||||
sources:
|
||||
- https://github.com/justwatchcom/elasticsearch_exporter
|
||||
|
||||
@@ -47,7 +47,7 @@ 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.tag` | container image tag | `1.1.0`
|
||||
`image.pullPolicy` | container image pull policy | `IfNotPresent`
|
||||
`image.pullSecret` | container image pull secret | `""`
|
||||
`resources` | resource requests & limits | `{}`
|
||||
@@ -64,6 +64,9 @@ Parameter | Description | Default
|
||||
`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.shards` | if true, query stats for shards in the cluster | `true`
|
||||
`es.cluster_settings` | if true, query stats for cluster settings | `true`
|
||||
`es.snapshots` | if true, query stats for snapshots 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 |
|
||||
|
||||
@@ -53,20 +53,33 @@ spec:
|
||||
image: "{{ .Values.image.repository }}:{{ .Values.image.tag }}"
|
||||
imagePullPolicy: {{ .Values.image.pullPolicy }}
|
||||
command: ["elasticsearch_exporter",
|
||||
"-es.uri={{ .Values.es.uri }}",
|
||||
"-es.all={{ .Values.es.all }}",
|
||||
"-es.indices={{ .Values.es.indices }}",
|
||||
"-es.timeout={{ .Values.es.timeout }}",
|
||||
"--es.uri={{ .Values.es.uri }}",
|
||||
{{- if .Values.es.all }}
|
||||
"--es.all",
|
||||
{{- end }}
|
||||
{{- if .Values.es.indices }}
|
||||
"--es.indices",
|
||||
{{- end }}
|
||||
{{- if .Values.es.shards }}
|
||||
"--es.shards",
|
||||
{{- end }}
|
||||
{{- if .Values.es.snapshots }}
|
||||
"--es.snapshots",
|
||||
{{- end }}
|
||||
{{- if .Values.es.cluster_settings }}
|
||||
"--es.cluster_settings",
|
||||
{{- end }}
|
||||
"--es.timeout={{ .Values.es.timeout }}",
|
||||
{{- if .Values.es.sslSkipVerify }}
|
||||
"-es.ssl-skip-verify=true",
|
||||
"--es.ssl-skip-verify",
|
||||
{{- end }}
|
||||
{{- if .Values.es.ssl.enabled }}
|
||||
"-es.ca=/ssl/ca.pem",
|
||||
"-es.client-cert=/ssl/client.pem",
|
||||
"-es.client-private-key=/ssl/client.key",
|
||||
"--es.ca=/ssl/ca.pem",
|
||||
"--es.client-cert=/ssl/client.pem",
|
||||
"--es.client-private-key=/ssl/client.key",
|
||||
{{- end }}
|
||||
"-web.listen-address=:{{ .Values.service.httpPort }}",
|
||||
"-web.telemetry-path={{ .Values.web.path }}"]
|
||||
"--web.listen-address=:{{ .Values.service.httpPort }}",
|
||||
"--web.telemetry-path={{ .Values.web.path }}"]
|
||||
securityContext:
|
||||
capabilities:
|
||||
drop:
|
||||
|
||||
@@ -8,7 +8,7 @@ restartPolicy: Always
|
||||
|
||||
image:
|
||||
repository: justwatch/elasticsearch_exporter
|
||||
tag: 1.0.2
|
||||
tag: 1.1.0
|
||||
pullPolicy: IfNotPresent
|
||||
pullSecret: ""
|
||||
|
||||
@@ -68,6 +68,18 @@ es:
|
||||
##
|
||||
indices: true
|
||||
|
||||
## If true, query stats for shards in the cluster.
|
||||
##
|
||||
shards: true
|
||||
|
||||
## If true, query stats for snapshots in the cluster.
|
||||
##
|
||||
snapshots: true
|
||||
|
||||
## If true, query stats for cluster settings.
|
||||
##
|
||||
cluster_settings: false
|
||||
|
||||
## Timeout for trying to get stats from Elasticsearch. (ex: 20s)
|
||||
##
|
||||
timeout: 30s
|
||||
|
||||
Reference in New Issue
Block a user