Closed
Description
Bug Report
If the operator service account doesn't have access to leases the leaderelection logic cannot work correctly and the operator simply won't start but keeps throwing errors.
At the same time the RuntimeInfo
object reports isStarted() == true
, so health probes set up for this do not catch this problem.
What did you do?
Start operator with leader election enabled without lease access.
What did you expect to see?
Startup probe errors.
What did you see instead? Under which circumstances?
Healthy startup probes and multiple replicas doing nothing, throwing lease access errors
Possible Solution
Only set isStarted to true when the lease was successfully accessed.
Metadata
Metadata
Assignees
Labels
No labels