-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
None
-
False
-
-
The operator currently uses the following default values for leader election:
- lease duration: 15s
- renew deadline: 10s
- retry period: 2s
In clusters with a very slow API server, these defaults are too short, causing the operator to restart because it loses the leader lease (see OSSM-6397).
Although the correct solution is to figure out why the API server is slow, we should allow admins to increase the default values until the problems with the API server are resolved.
We should introduce the following command-line options to the operator:
- --leader-elect-lease-duration=15s
- --leader-elect-renew-deadline=10s
- --leader-elect-retry-period=2s
Users who want to set these options, should modify the operator's ClusterServiceVersion.
- is related to
-
OSSM-6397 OSSM 2.5.1 operator installation error "Manager exited non-zero","error":"leader election lost"
- Closed
- mentioned on