Skip to content

Commit 58b17d3

Browse files
vishalbolludeliahu
authored andcommitted
Improve healthcheck (#788)
(cherry picked from commit cb95e2f)
1 parent a67cb11 commit 58b17d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/operator/operator/k8s_specs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ var _apiReadinessProbe = &kcore.Probe{
577577
FailureThreshold: 2,
578578
Handler: kcore.Handler{
579579
Exec: &kcore.ExecAction{
580-
Command: []string{"/bin/bash", "-c", "/bin/ps aux | grep \"api.py\" && test -f /health_check.txt"},
580+
Command: []string{"/bin/bash", "-c", "/bin/ps aux | grep \"serve/run.sh\" | grep -v \"grep\" && test -f /health_check.txt"},
581581
},
582582
},
583583
}

0 commit comments

Comments
 (0)