apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 8fa5a078892b220e202c7a44d607e233aa3a01389e55fd7efb7383833c34418d
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-02-28T00:06:21Z"
  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: 9cd139cd-7597-45fa-83fa-e2052159194e
  resourceVersion: "13829"
  uid: cca55893-3696-4949-a588-12c20f6ffea2
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-zxtld
      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-zxtld
      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-zxtld
    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-02-28T00:06:28Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-02-28T00:07:27Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-02-28T00:07:27Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-02-28T00:06:27Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://4c6a69109aa207aa86670aed94eaecab22dfcbca51038c54dc71b196c35d1c06
    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-02-28T00:06:28Z"
  hostIP: 162.253.55.52
  initContainerStatuses:
  - containerID: containerd://6e1d45824bb311e6ebce67a840f5c0e7d724690122f0294ce144867e57f1505a
    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://6e1d45824bb311e6ebce67a840f5c0e7d724690122f0294ce144867e57f1505a
        exitCode: 0
        finishedAt: "2026-02-28T00:06:28Z"
        reason: Completed
        startedAt: "2026-02-28T00:06:28Z"
  phase: Running
  podIP: 10.0.0.131
  podIPs:
  - ip: 10.0.0.131
  qosClass: BestEffort
  startTime: "2026-02-28T00:06:27Z"
