You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by "janiussyafiq (via GitHub)" <gi...@apache.org> on 2026/08/14 07:43:01 UTC
[PR] feat: log why a resource is ignored when no IngressClass selects it [apisix-ingress-controller]
janiussyafiq opened a new pull request, #2847:
URL: https://github.com/apache/apisix-ingress-controller/pull/2847
### Type of change:
- [x] New feature provided
### What this PR does / why we need it:
A resource whose IngressClass does not select this controller is filtered out at the watch predicate, so it is dropped with no log, no event, and no status. Users cannot tell why their resource is never reconciled (see the `ingressClassName` part of #2756).
The shared predicate now logs why an object is ignored: at Info level when the resource is effectively orphaned (no `spec.ingressClassName` and no default IngressClass of this controller, or a referenced IngressClass that does not exist), and at `V(1)` when the IngressClass belongs to another controller, so multi-controller clusters are not spammed. Admission behavior is unchanged.
### Pre-submission checklist:
- [x] Did you explain what problem does this PR solve? Or what new features have been added?
- [x] Have you added corresponding test cases?
- [ ] Have you modified the corresponding document?
- [x] Is this PR backward compatible? **If it is not backward compatible, please discuss on the [mailing list](https://github.com/apache/apisix-ingress-controller#community) first**
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] feat: log why a resource is ignored when no IngressClass selects it [apisix-ingress-controller]
Posted by "janiussyafiq (via GitHub)" <gi...@apache.org>.
janiussyafiq closed pull request #2847: feat: log why a resource is ignored when no IngressClass selects it
URL: https://github.com/apache/apisix-ingress-controller/pull/2847
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@apisix.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org