apache / apisix-ingress-controller

APISIX Ingress Controller for Kubernetes
https://apisix.apache.org/
Apache License 2.0
995 stars 341 forks source link

bug: unknown field "status.conditions[0].lastTransitionTime" is constantly displayed in logs #2259

Open ikatlinsky opened 2 months ago

ikatlinsky commented 2 months ago

Current Behavior

Logs of the ingress controller is full of messages unknown field "status.conditions[0].lastTransitionTime"

Expected Behavior

I see not reason to display this message, as it makes logs less usable

Error Logs

W0709 14:51:15.702623       1 warnings.go:70] unknown field "status.conditions[0].lastTransitionTime"
W0709 14:51:20.470542       1 warnings.go:70] unknown field "status.conditions[0].lastTransitionTime"

Steps to Reproduce

  1. create route and upstream using crd and ingress controller
  2. inspect logs

Environment

ikatlinsky commented 2 months ago

@Revolyssup hi! would be nice if that can be addressed in the same way as https://github.com/apache/apisix-ingress-controller/pull/2206, current logging approach makes it barely usable for alerting staff, as too many false positive errors are shown, thanks