Uploaded image for project: 'Red Hat OpenShift Data Science'
  1. Red Hat OpenShift Data Science
  2. RHODS-766

[SPIKE] Determine how to elect a leader JH pod out of 3 pods

XMLWordPrintable

    • Icon: Task Task
    • Resolution: Done
    • Icon: Critical Critical
    • None
    • None
    • Workbenches
    • 3
    • False
    • False
    • No
    • No
    • Undefined
    • No
    • Pending
    • None

      We need to figure out a way to spin up 3 jupyterhub server pods with 1 active pod (leader) and 2 passive pods that can be used when the leader pod dies.

      Some reference docs there (from a very basic google search):
      https://kubernetes.io/blog/2016/01/simple-leader-election-with-kubernetes/
      https://tunein.engineering/implementing-leader-election-for-kubernetes-pods-2477deef8f13
      https://pkg.go.dev/k8s.io/client-go/tools/leaderelection
      https://medium.com/michaelbi-22303/deep-dive-into-kubernetes-simple-leader-election-3712a8be3a99

              spryor@redhat.com Sean Pryor
              mshah10 Maulik Shah (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: