pkg icon indicating copy to clipboard operation
pkg copied to clipboard

Class-based reconcilers can't be hosted in one binary with HA

Open markusthoemmes opened this issue 4 years ago • 2 comments

/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

  1. Create a binary that launches two Ingress reconcilers
  2. 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.

markusthoemmes avatar Apr 29 '21 13:04 markusthoemmes

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.

github-actions[bot] avatar Jul 29 '21 01:07 github-actions[bot]

/lifecycle frozen

markusthoemmes avatar Jul 29 '21 06:07 markusthoemmes