pkg
pkg copied to clipboard
Class-based reconcilers can't be hosted in one binary with HA
/kind bug
Expected Behavior
I can host as many class-based controllers (for example: Ingress reconcilers) as I want in a binary, as long as the classes don't clash.
Actual Behavior
They try to get the same lease and thus only one really works. This is quite similar to #1979.
Steps to Reproduce the Problem
- Create a binary that launches two Ingress reconcilers
- Launch it and see how it competes for the lease.
Additional Info
This is quite similar to #1979.
I guess the simplest way of fixing it is adding the class filter to the lease name.
This issue is stale because it has been open for 90 days with no
activity. It will automatically close after 30 more days of
inactivity. Reopen the issue with /reopen. Mark the issue as
fresh by adding the comment /remove-lifecycle stale.
/lifecycle frozen