mirror of
https://github.com/wahyd4/charts.git
synced 2026-08-21 02:56:50 +10:00
Merge pull request #1146 from vshn/zookeeper/metrics-exporter
[bitnami/zookeeper] metrics exporter timeout
This commit is contained in:
@@ -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 }}
|
||||
|
||||
@@ -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/
|
||||
##
|
||||
|
||||
@@ -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/
|
||||
##
|
||||
|
||||
Reference in New Issue
Block a user