apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: c409b7b2d3b66c56bb7fa0ff87b762d0d7725211812e5a579a83fa8382c24150
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-10-16T00:33:54Z"
  generateName: ovn-ovsdb-nb-
  labels:
    application: ovn
    apps.kubernetes.io/pod-index: "0"
    component: ovn-ovsdb-nb
    controller-revision-hash: ovn-ovsdb-nb-6b5b975d78
    release_group: ovn
    statefulset.kubernetes.io/pod-name: ovn-ovsdb-nb-0
  name: ovn-ovsdb-nb-0
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: StatefulSet
    name: ovn-ovsdb-nb
    uid: 0a56b265-1a38-473a-aeb7-3192ae18ef88
  resourceVersion: "15356"
  uid: 87cc7766-e849-4d19-a95c-2c0cebaf483b
spec:
  affinity:
    podAntiAffinity:
      preferredDuringSchedulingIgnoredDuringExecution:
      - podAffinityTerm:
          labelSelector:
            matchExpressions:
            - key: release_group
              operator: In
              values:
              - ovn
            - key: application
              operator: In
              values:
              - ovn
            - key: component
              operator: In
              values:
              - ovn-ovsdb-nb
          topologyKey: kubernetes.io/hostname
        weight: 10
  containers:
  - command:
    - /root/ovnkube.sh
    - nb-ovsdb
    env:
    - name: OVN_DAEMONSET_VERSION
      value: "3"
    - name: OVN_LOGLEVEL_NB
      value: -vconsole:info -vfile:info
    - name: OVN_KUBERNETES_NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: OVN_KUBERNETES_STATEFULSET
      value: ovn-ovsdb-nb
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    - name: OVN_SSL_ENABLE
      value: "no"
    - name: ENABLE_IPSEC
      value: "false"
    - name: OVN_NB_RAFT_ELECTION_TIMER
      value: "1000"
    - name: OVN_NB_PORT
      value: "6641"
    - name: OVN_NB_RAFT_PORT
      value: "6643"
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn:v24.03.7-3@sha256:deb1966eff94d8da072a3647db63546722094deb3ef34b6b464609bcba61887a
    imagePullPolicy: IfNotPresent
    name: ovsdb
    ports:
    - containerPort: 6641
      protocol: TCP
    - containerPort: 6643
      protocol: TCP
    readinessProbe:
      exec:
        command:
        - /usr/bin/ovn-kube-util
        - readiness-probe
        - -t
        - ovnnb-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-hb5cg
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  hostname: ovn-ovsdb-nb-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@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    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-hb5cg
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: ovn-ovsdb-nb
  serviceAccountName: ovn-ovsdb-nb
  subdomain: ovn-ovsdb-nb
  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-nb-0
  - hostPath:
      path: /run/openvswitch
      type: DirectoryOrCreate
    name: run-openvswitch
  - emptyDir: {}
    name: var-log-ovn
  - name: kube-api-access-hb5cg
    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-10-16T00:34:02Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-10-16T00:35:01Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-10-16T00:35:01Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-10-16T00:34:00Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://03d5728444ca5a1621f33334ea5cfd9a97ac98eeb9404b2f162ac456dacac1ac
    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-10-16T00:34:02Z"
  hostIP: 162.253.55.214
  initContainerStatuses:
  - containerID: containerd://7e28495ba05f39550147743c1a8dfa11d4a5050ec6389303c90ebb0ce7dc8e58
    image: sha256:d656bd5737950b86b0ecff4b0206024769c78ea55e2f9f4c840c3cc2a10caaf8
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://7e28495ba05f39550147743c1a8dfa11d4a5050ec6389303c90ebb0ce7dc8e58
        exitCode: 0
        finishedAt: "2026-10-16T00:34:01Z"
        reason: Completed
        startedAt: "2026-10-16T00:34:01Z"
  phase: Running
  podIP: 10.0.0.253
  podIPs:
  - ip: 10.0.0.253
  qosClass: BestEffort
  startTime: "2026-10-16T00:34:00Z"
