diff --git a/pkg/operator/operator/k8s_specs.go b/pkg/operator/operator/k8s_specs.go index d106f15ad5..4b8440e9b2 100644 --- a/pkg/operator/operator/k8s_specs.go +++ b/pkg/operator/operator/k8s_specs.go @@ -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"}, }, }, }