[stable/grafana] Allow customization of readinessProbe via values.yaml (#2923)

* [stable/grafana] Allow customization of readinessProbe via values.yaml

* [stable/grafana] Add `server.readinessProbe` documentation to README

* [stable/grafana] Bump chart version
This commit is contained in:
Sebastian Friedel
2017-12-15 17:44:28 +01:00
committed by Reinhard Nägele
parent 880f14e0b6
commit 0cf32f0b56
4 changed files with 13 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: grafana
version: 0.5.2
version: 0.5.3
description: The leading tool for querying and visualizing time series and metrics.
home: https://grafana.net
icon: https://raw.githubusercontent.com/grafana/grafana/master/public/img/logo_transparent_400x.png
+1
View File
@@ -40,6 +40,7 @@ The command removes all the Kubernetes components associated with the chart and
| `server.persistentVolume.accessMode` | ReadWriteOnce or ReadOnly | [ReadWriteOnce] |
| `server.persistentVolume.existingClaim` | Existing persistent volume claim | null |
| `server.persistentVolume.subPath` | Subdirectory of pvc to mount | null |
| `server.readinessProbe` | Server readiness probe | httpGet: {path: /login, port: 3000}, initialDelaySeconds: 30, timeoutSeconds: 30 |
| `server.resources` | Server resource requests and limits | requests: {cpu: 100m, memory: 100Mi} |
| `server.tolerations` | node taints to tolerate (requires Kubernetes >=1.6) | null |
| `server.service.annotations` | Service annotations | null |
+1 -5
View File
@@ -58,11 +58,7 @@ spec:
ports:
- containerPort: 3000
readinessProbe:
httpGet:
path: /login
port: 3000
initialDelaySeconds: 30
timeoutSeconds: 30
{{ toYaml .Values.server.readinessProbe | indent 12 }}
resources:
{{ toYaml .Values.server.resources | indent 12 }}
volumeMounts:
+10
View File
@@ -109,6 +109,16 @@ server:
cpu: 100m
memory: 100Mi
## Grafana readiness probe
## Ref: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle/#container-probes
##
readinessProbe:
httpGet:
path: /login
port: 3000
initialDelaySeconds: 30
timeoutSeconds: 30
## Grafana service
service:
## Grafana service annotations