mirror of
https://github.com/helm/charts.git
synced 2026-08-23 22:37:45 +00:00
[incubator/schema-registry] Template health check (#19699)
* [incubator/schema-registry] template whole readiness and liveness Signed-off-by: Michal Sobczyk <micsobczyk@gmail.com> * Bump chart version Signed-off-by: Michal Sobczyk <micsobczyk@gmail.com> * bum chart version to 1.1.9 Signed-off-by: sopeal <micsobczyk@gmail.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
name: schema-registry
|
||||
home: https://docs.confluent.io/current/schema-registry/docs/index.html
|
||||
version: 1.1.8
|
||||
version: 1.1.9
|
||||
appVersion: 5.0.1
|
||||
keywords:
|
||||
- confluent
|
||||
|
||||
@@ -107,34 +107,9 @@ spec:
|
||||
name: jmx
|
||||
{{- end }}
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: {{ .Values.servicePort }}
|
||||
{{- if not .Values.livenessProbe }}
|
||||
initialDelaySeconds: 10
|
||||
timeoutSeconds: 5
|
||||
{{- else }}
|
||||
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds | default 10}}
|
||||
{{- if .Values.livenessProbe.periodSeconds }}
|
||||
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
|
||||
{{- end }}
|
||||
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds | default 5}}
|
||||
{{- if .Values.livenessProbe.successThreshold }}
|
||||
successThreshold: {{ .Values.livenessProbe.successThreshold }}
|
||||
{{- end }}
|
||||
{{- if .Values.livenessProbe.failureThreshold }}
|
||||
failureThreshold: {{ .Values.livenessProbe.failureThreshold }}
|
||||
{{- end }}
|
||||
{{- end }}
|
||||
{{ toYaml .Values.livenessProbe | indent 12 }}
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: {{ .Values.servicePort }}
|
||||
initialDelaySeconds: {{ .Values.readinessProbe.initialDelaySeconds | default 10}}
|
||||
periodSeconds: {{ .Values.readinessProbe.periodSeconds }}
|
||||
timeoutSeconds: {{ .Values.readinessProbe.timeoutSeconds | default 5}}
|
||||
successThreshold: {{ .Values.readinessProbe.successThreshold }}
|
||||
failureThreshold: {{ .Values.readinessProbe.failureThreshold }}
|
||||
{{ toYaml .Values.readinessProbe | indent 12 }}
|
||||
env:
|
||||
- name: SCHEMA_REGISTRY_HOST_NAME
|
||||
valueFrom:
|
||||
|
||||
@@ -59,10 +59,19 @@ kafkaStore:
|
||||
## Additional Java arguments to pass to Kafka.
|
||||
# schemaRegistryOpts: -Dfoo=bar
|
||||
|
||||
## Readiness probe config.
|
||||
## Liveness and readiness probe config.
|
||||
## ref: https://kubernetes.io/docs/tasks/configure-pod-container/configure-liveness-readiness-probes/
|
||||
##
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8081
|
||||
initialDelaySeconds: 10
|
||||
timeoutSeconds: 5
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
path: /
|
||||
port: 8081
|
||||
initialDelaySeconds: 10
|
||||
periodSeconds: 10
|
||||
timeoutSeconds: 5
|
||||
|
||||
Reference in New Issue
Block a user