Skip to content

Commit eed7f42

Browse files
camper42pan3793
authored andcommitted
[KYUUBI #6430] livenessProbe uses absolute path based on KYUUBI_HOME
# 🔍 Description ## Issue References 🔗 This pull request fixes potential `Liveness probe failed: /bin/bash: line 1: bin/kyuubi: No such file or directory` ## Describe Your Solution 🔧 livenessProbe uses absolute path based on KYUUBI_HOME ## Types of changes 🔖 - [x] Bugfix (non-breaking change which fixes an issue) - [ ] New feature (non-breaking change which adds functionality) - [ ] Breaking change (fix or feature that would cause existing functionality to change) ## Test Plan 🧪 Tested on our internal kyuubi deployment. --- # Checklist 📝 - [x] This patch was not authored or co-authored using [Generative Tooling](https://www.apache.org/legal/generative-tooling.html) **Be nice. Be informative.** Closes #6430 from camper42/liveness. Closes #6430 980b42c [camper42] livenessProbe uses absolute path based on KYUUBI_HOME Authored-by: camper42 <[email protected]> Signed-off-by: Cheng Pan <[email protected]> (cherry picked from commit 9c4e832) Signed-off-by: Cheng Pan <[email protected]>
1 parent 266b81a commit eed7f42

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

charts/kyuubi/templates/kyuubi-statefulset.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ spec:
8787
{{- if .Values.livenessProbe.enabled }}
8888
livenessProbe:
8989
exec:
90-
command: ["/bin/bash", "-c", "bin/kyuubi status"]
90+
command: ["/bin/bash", "-c", "$KYUUBI_HOME/bin/kyuubi status"]
9191
initialDelaySeconds: {{ .Values.livenessProbe.initialDelaySeconds }}
9292
periodSeconds: {{ .Values.livenessProbe.periodSeconds }}
9393
timeoutSeconds: {{ .Values.livenessProbe.timeoutSeconds }}

0 commit comments

Comments
 (0)