fix health/readiness path
fix health/readiness path in order to align current development, We decided to make specific health path to check service availability even if kafka-ui configured with authorization. /actuator/health return 2XX codes despite of authorization settings
This commit is contained in:
parent
b6690f6a9b
commit
b05bd69aa1
1 changed files with 2 additions and 2 deletions
|
@ -54,7 +54,7 @@ spec:
|
|||
protocol: TCP
|
||||
livenessProbe:
|
||||
httpGet:
|
||||
{{- $contextPath := .Values.envs.config.SERVER_SERVLET_CONTEXT_PATH | default "" | printf "%s/" | urlParse }}
|
||||
{{- $contextPath := .Values.envs.config.SERVER_SERVLET_CONTEXT_PATH | default "" | printf "%s/actuator/health" | urlParse }}
|
||||
path: {{ get $contextPath "path" }}
|
||||
port: http
|
||||
initialDelaySeconds: 60
|
||||
|
@ -62,7 +62,7 @@ spec:
|
|||
timeoutSeconds: 10
|
||||
readinessProbe:
|
||||
httpGet:
|
||||
{{- $contextPath := .Values.envs.config.SERVER_SERVLET_CONTEXT_PATH | default "" | printf "%s/" | urlParse }}
|
||||
{{- $contextPath := .Values.envs.config.SERVER_SERVLET_CONTEXT_PATH | default "" | printf "%s/actuator/health" | urlParse }}
|
||||
path: {{ get $contextPath "path" }}
|
||||
port: http
|
||||
initialDelaySeconds: 60
|
||||
|
|
Loading…
Add table
Reference in a new issue