mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[stable/metabase] interpolate liveness and readiness probes (#20475)
Signed-off-by: Kash Law <ka.shing.law@gmail.com>
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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 |
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user