Skip to content

Commit

Permalink
Improve healthcheck (#788)
Browse files Browse the repository at this point in the history
(cherry picked from commit cb95e2f)
  • Loading branch information
vishalbollu authored and deliahu committed Jan 29, 2020
1 parent a67cb11 commit 58b17d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/operator/operator/k8s_specs.go
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ var _apiReadinessProbe = &kcore.Probe{
FailureThreshold: 2,
Handler: kcore.Handler{
Exec: &kcore.ExecAction{
Command: []string{"/bin/bash", "-c", "/bin/ps aux | grep \"api.py\" && test -f /health_check.txt"},
Command: []string{"/bin/bash", "-c", "/bin/ps aux | grep \"serve/run.sh\" | grep -v \"grep\" && test -f /health_check.txt"},
},
},
}
Expand Down

0 comments on commit 58b17d3

Please sign in to comment.