Expose timeout options for leader election at the AMQ Broker Operator level in OpenShift
Issue
-
The AMQ Broker Operator is based on the operator-sdk that support leader election. A timeout on renew a lease == loosing the lease this lead to a restart of the AMQ Broker Operator pod.
Exposing timeout options for leader election at the AMQ Broker Operator level will allow to avoid lot of restarts:
spec: containers: args: --leader-lease-duration=60 --leader-renew-deadline=40 --leader-retry-period=5
Environment
- Red Hat AMQ Broker (AMQ) 7.11.1
- Red Hat OpenShift Container (Openshift) 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.