diff --git a/pkg/controller/controller.go b/pkg/controller/controller.go index 7383615ac2..7d60ec8694 100644 --- a/pkg/controller/controller.go +++ b/pkg/controller/controller.go @@ -296,6 +296,7 @@ func (lbc *LoadBalancerController) sync(key string) (err error) { } lb, err := lbc.toRuntimeInfo(ing) if err != nil { + lbc.ctx.Recorder(ing.Namespace).Eventf(ing, apiv1.EventTypeWarning, "Ingress", err.Error()) return err } lbs := []*loadbalancers.L7RuntimeInfo{lb}