-
Story
-
Resolution: Done
-
Normal
-
None
-
None
Fix a potential bug into the new implementation of the Jupyterhub Leader Election Sidecar Container.
We should add a new Liveness Probe to check the potential fencing of the new go-client: https://github.com/kubernetes/client-go/blob/master/tools/leaderelection/leaderelection.go#L19
In other to accomplish that we should:
- Update the sidecar image to add a new endpoint to check if the image think is the leader elected.
- Add the liveness probe to check the actual leader elected and, if the image thinks it's the leader but it's not the global leader restart that container.
- duplicates
-
RHODS-1975 Audit all RHODS application and monitoring containers to ensure that they have readiness and liveness probes defined
- Closed
- is related to
-
RHODS-767 Scale JH to 3 pods with 1 persistent leader
- Closed