Skip to content

Commit cb95e2f

Browse files
authored
Improve healthcheck (#788)
1 parent 3b63588 commit cb95e2f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: pkg/operator/operator/k8s_specs.go

+1-1
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)