apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 8fa5a078892b220e202c7a44d607e233aa3a01389e55fd7efb7383833c34418d
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-17T00:55:50Z"
  generateName: ovn-ovsdb-nb-
  labels:
    application: ovn
    apps.kubernetes.io/pod-index: "0"
    component: ovn-ovsdb-nb
    controller-revision-hash: ovn-ovsdb-nb-55975db4bd
    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: 34d0c732-8604-426e-80f6-7efc16a0eace
  resourceVersion: "4616"
  uid: dcd67726-a97a-43fd-8726-afc54fa1b900
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-nb
        topologyKey: kubernetes.io/hostname
  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-t55g6
      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
    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-t55g6
      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-t55g6
    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-04-17T00:56:12Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-17T00:57:10Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-17T00:57:10Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-17T00:56:10Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://a6bd0ca7509179e6de1cfa5817db17f5a830b26343b2be54f912b9a18f98d4ae
    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-04-17T00:56:12Z"
  hostIP: 199.204.45.246
  initContainerStatuses:
  - containerID: containerd://7a6c4cd4cf12704e0f649c7d196c1d06b35e8fc1d72844cbc21555dc74c1fd87
    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://7a6c4cd4cf12704e0f649c7d196c1d06b35e8fc1d72844cbc21555dc74c1fd87
        exitCode: 0
        finishedAt: "2026-04-17T00:56:11Z"
        reason: Completed
        startedAt: "2026-04-17T00:56:11Z"
  phase: Running
  podIP: 10.0.0.212
  podIPs:
  - ip: 10.0.0.212
  qosClass: BestEffort
  startTime: "2026-04-17T00:56:10Z"
