diff --git a/internal/ingress/controller/checker.go b/internal/ingress/controller/checker.go index 0b6a6c373..3603fccb8 100644 --- a/internal/ingress/controller/checker.go +++ b/internal/ingress/controller/checker.go @@ -61,16 +61,7 @@ func (n *NGINXController) Check(_ *http.Request) error { return errors.Wrapf(err, "checking for NGINX process with PID %v", pid) } - statusCode, _, err := nginx.NewGetStatusRequest(nginx.HealthPath) - if err != nil { - return errors.Wrapf(err, "checking if NGINX is running") - } - - if statusCode != 200 { - return fmt.Errorf("ingress controller is not healthy (%v)", statusCode) - } - - statusCode, _, err = nginx.NewGetStatusRequest("/is-dynamic-lb-initialized") + statusCode, _, err := nginx.NewGetStatusRequest("/is-dynamic-lb-initialized") if err != nil { return errors.Wrapf(err, "checking if the dynamic load balancer started") }