Merge pull request #1146 from vshn/zookeeper/metrics-exporter

[bitnami/zookeeper] metrics exporter timeout
This commit is contained in:
Javier J. Salmerón-García
2019-05-15 21:39:55 +02:00
committed by GitHub
4 changed files with 11 additions and 4 deletions
+1
View File
@@ -115,6 +115,7 @@ The following tables lists the configurable parameters of the Zookeeper chart an
| `metrics.podAnnotations` | Additional annotations for Metrics exporter pod | `{prometheus.io/scrape: "true", prometheus.io/port: "9141"}` |
| `metrics.resources` | Exporter resource requests/limit | Memory: `256Mi`, CPU: `100m` |
| `metrics.tolerations` | Exporter toleration labels for pod assignment | `[]` |
| `metrics.timeoutSeconds` | Timeout in seconds the exporter uses to scrape its targets | 3 |
Specify each parameter using the `--set key=value[,key=value]` argument to `helm install`. For example,
@@ -39,6 +39,8 @@ spec:
name: zookeeper-exporter
command:
- /usr/local/bin/zookeeper-exporter
- -timeout
- {{ .Values.metrics.timeoutSeconds | quote }}
- -zk-list
{{- $replicaCount := int .Values.replicaCount }}
{{- $followerPort := int .Values.service.followerPort }}
+4 -2
View File
@@ -195,8 +195,8 @@ metrics:
image:
registry: docker.io
repository: javsalgar/zookeeper-exporter
tag: latest
repository: dabealu/zookeeper-exporter
tag: v0.1.0
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
@@ -211,6 +211,8 @@ metrics:
prometheus.io/port: "9141"
podLabels: {}
timeoutSeconds: 3
## Metrics exporter resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
##
+4 -2
View File
@@ -195,8 +195,8 @@ metrics:
image:
registry: docker.io
repository: javsalgar/zookeeper-exporter
tag: latest
repository: dabealu/zookeeper-exporter
tag: v0.1.0
pullPolicy: IfNotPresent
## Optionally specify an array of imagePullSecrets.
## Secrets must be manually created in the namespace.
@@ -211,6 +211,8 @@ metrics:
prometheus.io/port: "9141"
podLabels: {}
timeoutSeconds: 3
## Metrics exporter resource requests and limits
## ref: http://kubernetes.io/docs/user-guide/compute-resources/
##