Uploaded image for project: 'OpenShift Network Plumbing'
  1. OpenShift Network Plumbing
  2. NP-265

Run OVN nbdb and sbdb as a StatefulSet

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Major Major
    • openshift-4.11
    • None
    • OVN Kubernetes
    • None
    • BU Product Work
    • 5
    • False
    • False
    • OCPSTRAT-112 - Define & Implement HyperShift Network Topology & Component Locality

      As a part of running OVN-Kube within the Hypershift control plane, we need to deploy the OVN DBs in a different manner.

      In "normal" clusters, they're a HostNetwork pod on the master nodes. That doesn't work for Hypershift. Rather, we'll deploy them as a StatefulSet.

       

      In order for this to work, we need to determine

      • How to adapt OVN to a StatefulSet
      • The correct storage parameters
      • How to handle raft membership
      • If using DNS for peer names is a problem

      We also may need to change ovsdbwatcher.

       

      For a reference, see https://kubernetes.io/docs/tutorials/stateful-application/zookeeper/ - zookeeper has many similar properties to ovsdb's raft implementation.

              zshi@redhat.com Zenghui Shi
              ccallend@redhat.com Casey Callendrello (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: