apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 8fa5a078892b220e202c7a44d607e233aa3a01389e55fd7efb7383833c34418d
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-06-08T04:02:49Z"
  generateName: ovn-ovsdb-sb-
  labels:
    application: ovn
    apps.kubernetes.io/pod-index: "0"
    component: ovn-ovsdb-sb
    controller-revision-hash: ovn-ovsdb-sb-7bf976c98c
    release_group: ovn
    statefulset.kubernetes.io/pod-name: ovn-ovsdb-sb-0
  name: ovn-ovsdb-sb-0
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: StatefulSet
    name: ovn-ovsdb-sb
    uid: cd3a1130-3570-49e7-b5a1-7dc1862eb322
  resourceVersion: "14890"
  uid: 8cb99d55-b899-41f9-bf26-df0f685f4e86
spec:
  affinity:
    podAntiAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
      - labelSelector:
          matchExpressions:
          - key: release_group
            operator: In
            values:
            - ovn
          - key: application
            operator: In
            values:
            - ovn
          - key: component
            operator: In
            values:
            - ovn-ovsdb-sb
        topologyKey: kubernetes.io/hostname
  containers:
  - command:
    - /root/ovnkube.sh
    - sb-ovsdb
    env:
    - name: OVN_DAEMONSET_VERSION
      value: "3"
    - name: OVN_LOGLEVEL_SB
      value: -vconsole:info -vfile:info
    - name: OVN_KUBERNETES_NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: OVN_KUBERNETES_STATEFULSET
      value: ovn-ovsdb-sb
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    - name: OVN_SSL_ENABLE
      value: "no"
    - name: ENABLE_IPSEC
      value: "false"
    - name: OVN_SB_RAFT_ELECTION_TIMER
      value: "1000"
    - name: OVN_SB_PORT
      value: "6642"
    - name: OVN_SB_RAFT_PORT
      value: "6644"
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn:v24.03.7-3@sha256:deb1966eff94d8da072a3647db63546722094deb3ef34b6b464609bcba61887a
    imagePullPolicy: IfNotPresent
    name: ovsdb
    ports:
    - containerPort: 6642
      protocol: TCP
    - containerPort: 6644
      protocol: TCP
    readinessProbe:
      exec:
        command:
        - /usr/bin/ovn-kube-util
        - readiness-probe
        - -t
        - ovnsb-db
      failureThreshold: 3
      initialDelaySeconds: 30
      periodSeconds: 60
      successThreshold: 1
      timeoutSeconds: 30
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/openvswitch
      name: run-openvswitch
    - mountPath: /var/run/ovn
      name: run-openvswitch
    - mountPath: /etc/ovn
      name: data
    - mountPath: /var/log/ovn
      name: var-log-ovn
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-tbh4p
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  hostname: ovn-ovsdb-sb-0
  initContainers:
  - command:
    - kubernetes-entrypoint
    env:
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    - name: NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: INTERFACE_NAME
      value: eth0
    - name: PATH
      value: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/
    - name: DEPENDENCY_SERVICE
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
    - name: DEPENDENCY_CUSTOM_RESOURCE
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge
    imagePullPolicy: IfNotPresent
    name: init
    resources: {}
    securityContext:
      allowPrivilegeEscalation: false
      readOnlyRootFilesystem: true
      runAsUser: 65534
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-tbh4p
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: ovn-ovsdb-sb
  serviceAccountName: ovn-ovsdb-sb
  subdomain: ovn-ovsdb-sb
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
  volumes:
  - name: data
    persistentVolumeClaim:
      claimName: data-ovn-ovsdb-sb-0
  - hostPath:
      path: /run/openvswitch
      type: DirectoryOrCreate
    name: run-openvswitch
  - emptyDir: {}
    name: var-log-ovn
  - name: kube-api-access-tbh4p
    projected:
      defaultMode: 420
      sources:
      - serviceAccountToken:
          expirationSeconds: 3607
          path: token
      - configMap:
          items:
          - key: ca.crt
            path: ca.crt
          name: kube-root-ca.crt
      - downwardAPI:
          items:
          - fieldRef:
              apiVersion: v1
              fieldPath: metadata.namespace
            path: namespace
status:
  conditions:
  - lastProbeTime: null
    lastTransitionTime: "2026-06-08T04:02:57Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-06-08T04:03:56Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-06-08T04:03:56Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-06-08T04:02:55Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://0d3aca5cce27ac9f0079ff43ee04fc395b86075558685155b937608c1fe87ab0
    image: sha256:f183e9d034a520ebdfadc9ee3e250ce9012a8aa7baf1d41322996382ff01e8f5
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn@sha256:deb1966eff94d8da072a3647db63546722094deb3ef34b6b464609bcba61887a
    lastState: {}
    name: ovsdb
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-06-08T04:02:57Z"
  hostIP: 199.204.45.78
  initContainerStatuses:
  - containerID: containerd://342162663cff67f640f0ea7abc4c90c320065a6877d8dd588f605d08d8f8d036
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://342162663cff67f640f0ea7abc4c90c320065a6877d8dd588f605d08d8f8d036
        exitCode: 0
        finishedAt: "2026-06-08T04:02:56Z"
        reason: Completed
        startedAt: "2026-06-08T04:02:56Z"
  phase: Running
  podIP: 10.0.0.205
  podIPs:
  - ip: 10.0.0.205
  qosClass: BestEffort
  startTime: "2026-06-08T04:02:55Z"
