mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[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:
committed by
Reinhard Nägele
parent
880f14e0b6
commit
0cf32f0b56
@@ -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
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user