Ben10k opened a new pull request, #2236: URL: https://github.com/apache/apisix-ingress-controller/pull/2236
This PR is a subset of @acuteaura's PR #2152 The current problem (v1.8.2) is that whenever a controller loses it's `leader` status, it does not exit gracefully, thus it fails silently. In order to prevent this, an `os.exit` has been implemented to shut itself down, and depend on Kubernetes to bring it back up. ### Type of change: - [x] Bugfix ### What this PR does / why we need it: <!--- Why is this change required? What problem does it solve? --> ingress-controller doesn't recover from failed sync #1980 ### Pre-submission checklist: - [x] Did you explain what problem does this PR solve? Or what new features have been added? - [ ] 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: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
