Switch readiness and liveness probes (#8389)

Apparently readiness and liveness probes were mistaken. It probably
makes more sense for the liveness probe to have an initial delay of 60
seconds. Also 10s is the default for periodSeconds.

Signed-off-by: Simon Rüegg <simon.ruegg@vshn.ch>
This commit is contained in:
Simon Rüegg
2018-10-13 11:19:59 -07:00
committed by k8s-ci-robot
parent e6a16fbfc0
commit 41d2b420a6
3 changed files with 6 additions and 7 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
name: grafana
version: 1.17.0
version: 1.17.1
appVersion: 5.3.0
kubeVersion: "^1.8.0-0"
description: The leading tool for querying and visualizing time series and metrics.
+3 -3
View File
@@ -33,14 +33,14 @@ The command removes all the Kubernetes components associated with the chart and
|---------------------------------|-----------------------------------------------|---------------------------------------------------------|
| `replicas` | Number of nodes | `1` |
| `deploymentStrategy` | Deployment strategy | `RollingUpdate` |
| `livenessProbe` | Liveness Probe settings | `{ "httpGet": { "path": "/api/health", "port": 3000 } }` |
| `readinessProbe` | Rediness Probe settings | `{ "httpGet": { "path": "/api/health", "port": 3000 } "initialDelaySeconds": 60, "timeoutSeconds": 30, "failureThreshold": 10, "periodSeconds": 10 }` |
| `livenessProbe` | Liveness Probe settings | `{ "httpGet": { "path": "/api/health", "port": 3000 } "initialDelaySeconds": 60, "timeoutSeconds": 30, "failureThreshold": 10 }` |
| `readinessProbe` | Rediness Probe settings | `{ "httpGet": { "path": "/api/health", "port": 3000 } }`|
| `securityContext` | Deployment securityContext | `{"runAsUser": 472, "fsGroup": 472}` |
| `image.repository` | Image repository | `grafana/grafana` |
| `image.tag` | Image tag. (`Must be >= 5.0.0`) | `5.3.0` |
| `image.pullPolicy` | Image pull policy | `IfNotPresent` |
| `service.type` | Kubernetes service type | `ClusterIP` |
| `service.port` | Kubernetes port where service is exposed | `80` |
| `service.port` | Kubernetes port where service is exposed | `80` |
| `service.annotations` | Service annotations | `{}` |
| `service.labels` | Custom labels | `{}` |
| `ingress.enabled` | Enables Ingress | `false` |
+2 -3
View File
@@ -9,19 +9,18 @@ replicas: 1
deploymentStrategy: RollingUpdate
livenessProbe:
readinessProbe:
httpGet:
path: /api/health
port: 3000
readinessProbe:
livenessProbe:
httpGet:
path: /api/health
port: 3000
initialDelaySeconds: 60
timeoutSeconds: 30
failureThreshold: 10
periodSeconds: 10
image:
repository: grafana/grafana