[stable/metabase] interpolate liveness and readiness probes (#20475)

Signed-off-by: Kash Law <ka.shing.law@gmail.com>
This commit is contained in:
Kash Law
2020-02-02 21:07:20 -08:00
committed by GitHub
parent 624a6a2944
commit 7566d6dbe4
4 changed files with 23 additions and 7 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
description: The easy, open source way for everyone in your company to ask questions
and learn from data.
name: metabase
version: 0.10.1
version: 0.10.2
appVersion: v0.34.0
maintainers:
- name: pmint93
+6
View File
@@ -74,6 +74,12 @@ The following table lists the configurable parameters of the Metabase chart and
| emojiLogging | Get a funny emoji in service log | true |
| javaOpts | JVM options | null |
| pluginsDirectory | A directory with Metabase plugins | null |
| livenessProbe.initialDelaySeconds | Delay before liveness probe is initiated | 120 |
| livenessProbe.timeoutSeconds | When the probe times out | 30 |
| livenessProbe.failureThreshold | Minimum consecutive failures for the probe | 6 |
| readinessProbe.initialDelaySeconds | Delay before readiness probe is initiated | 30 |
| readinessProbe.timeoutSeconds | When the probe times out | 3 |
| readinessProbe.periodSeconds | How often to perform the probe | 5 |
| service.type | ClusterIP, NodePort, or LoadBalancer | ClusterIP |
| service.loadBalancerSourceRanges | Array of Source Ranges | null |
| service.externalPort | Service external port | 80 |
+6 -6
View File
@@ -120,16 +120,16 @@ spec:
httpGet:
path: /
port: {{ .Values.service.internalPort }}
initialDelaySeconds: 120
timeoutSeconds: 30
failureThreshold: 6
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
readinessProbe:
httpGet:
path: /
port: {{ .Values.service.internalPort }}
initialDelaySeconds: 30
timeoutSeconds: 3
periodSeconds: 5
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds }}
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds }}
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
{{- if .Values.log4jProperties }}
volumeMounts:
- name: config
+10
View File
@@ -59,6 +59,16 @@ emojiLogging: true
# javaOpts:
# pluginsDirectory:
livenessProbe:
initialDelaySeconds: 120
timeoutSeconds: 30
failureThreshold: 6
readinessProbe:
initialDelaySeconds: 30
timeoutSeconds: 3
periodSeconds: 5
service:
name: metabase
type: ClusterIP