-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
controller_runtime_reconcile_errors_total metric value is not getting updated for reconcile errors #2922
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Is your error logged as "Reconciler error" (l.332 here: controller-runtime/pkg/internal/controller/controller.go Lines 327 to 332 in bc669b1
If yes, it should be pretty much impossible that the error metric is not increased. My guess would be that your error is not returned by the Reconcile func. |
Hi,
Im using below versions to build and deploy operator. Operator running perfectly and the controller/reconcilation working perfectly fine. But if there is a reconcilation / CR creation failure happens, the controller_runtime_reconcile_errors_total metric value is still coming as 0, error count is not increasing accordingly. Where as other metrics of controllers are properly getting updated.
operator-sdk version: "v1.34.2", commit: "81dd3cb24b8744de03d312c1ba23bfc617044005", kubernetes version: "1.28.0", go version: "go1.21.10", GOOS: "linux", GOARCH: "amd64"
Thanks
Umapathy
The text was updated successfully, but these errors were encountered: