apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 8fa5a078892b220e202c7a44d607e233aa3a01389e55fd7efb7383833c34418d
    configmap-etc-hash: b051aca2497cbb640fe07dd769ad4b4a185c1172670745cd800ed7f87dc2a07d
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-07-25T21:38:28Z"
  generateName: ovn-bgp-agent-
  labels:
    application: ovn
    component: ovn-bgp-agent
    controller-revision-hash: 6d4bffc795
    pod-template-generation: "1"
    release_group: ovn
  name: ovn-bgp-agent-kxk2s
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: ovn-bgp-agent
    uid: 5f338996-cfab-4ada-9028-8f68250920d2
  resourceVersion: "32760"
  uid: 83665db7-96c9-41d1-a039-b3e1e0d3dd18
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchFields:
          - key: metadata.name
            operator: In
            values:
            - instance
  containers:
  - command:
    - /tmp/ovn-bgp-agent.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn-bgp-agent:main@sha256:98f80380aec29ea1cedd9a923edb411706fb7528bfe13daae6dd086e40997d55
    imagePullPolicy: IfNotPresent
    name: ovn-bgp-agent
    resources: {}
    securityContext:
      privileged: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /run/openvswitch
      name: run-openvswitch
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/ovn-bgp-agent.sh
      name: ovn-bin
      readOnly: true
      subPath: ovn-bgp-agent.sh
    - mountPath: /etc/ovn-bgp-agent/ovn-bgp-agent.conf
      name: ovn-etc
      readOnly: true
      subPath: ovn-bgp-agent.conf
    - mountPath: /etc/sudoers.d/kolla_ovn_bgp_agent_sudoers
      name: ovn-etc
      readOnly: true
      subPath: ovn_bgp_agent_sudoers
    - mountPath: /etc/ovn-bgp-agent/rootwrap.conf
      name: ovn-etc
      readOnly: true
      subPath: rootwrap.conf
    - mountPath: /etc/ovn-bgp-agent/rootwrap.d/ovn-bgp-agent.filters
      name: ovn-etc
      readOnly: true
      subPath: ovn-bgp-agent.filters
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-rrwd7
      readOnly: true
  dnsPolicy: ClusterFirstWithHostNet
  enableServiceLinks: true
  hostIPC: true
  hostNetwork: true
  hostPID: true
  initContainers:
  - command:
    - /tmp/ovn-bgp-agent-init.sh
    env:
    - name: NODE_IP
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: status.podIP
    - name: NODE_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: spec.nodeName
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn-bgp-agent:main@sha256:98f80380aec29ea1cedd9a923edb411706fb7528bfe13daae6dd086e40997d55
    imagePullPolicy: IfNotPresent
    name: ovn-bgp-agent-init
    resources: {}
    securityContext:
      privileged: true
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/ovn-bgp-agent-init.sh
      name: ovn-bin
      readOnly: true
      subPath: ovn-bgp-agent-init.sh
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-rrwd7
      readOnly: true
  nodeName: instance
  nodeSelector:
    openvswitch: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: ovn-bgp-agent
  serviceAccountName: ovn-bgp-agent
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/disk-pressure
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/memory-pressure
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/pid-pressure
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/unschedulable
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/network-unavailable
    operator: Exists
  volumes:
  - configMap:
      defaultMode: 511
      name: ovn-bin
    name: ovn-bin
  - hostPath:
      path: /run/openvswitch
      type: DirectoryOrCreate
    name: run-openvswitch
  - name: ovn-etc
    secret:
      defaultMode: 292
      secretName: ovn-etc
  - emptyDir: {}
    name: pod-tmp
  - name: kube-api-access-rrwd7
    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-07-25T21:38:36Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-07-25T22:26:16Z"
    message: 'containers with unready status: [ovn-bgp-agent]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-07-25T22:26:16Z"
    message: 'containers with unready status: [ovn-bgp-agent]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-07-25T21:38:28Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://0f4b45040771e3d20eebcfb06a7d45f5432dcc2eab4e80136269d2b64f109b10
    image: sha256:bb81a055dbbfed076017140093ff8bb9d0667bf9ed74361fd370dc8cc0b9375a
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn-bgp-agent@sha256:98f80380aec29ea1cedd9a923edb411706fb7528bfe13daae6dd086e40997d55
    lastState:
      terminated:
        containerID: containerd://0f4b45040771e3d20eebcfb06a7d45f5432dcc2eab4e80136269d2b64f109b10
        exitCode: 0
        finishedAt: "2026-07-25T22:26:15Z"
        reason: Completed
        startedAt: "2026-07-25T22:26:10Z"
    name: ovn-bgp-agent
    ready: false
    restartCount: 14
    started: false
    state:
      waiting:
        message: back-off 5m0s restarting failed container=ovn-bgp-agent pod=ovn-bgp-agent-kxk2s_openstack(83665db7-96c9-41d1-a039-b3e1e0d3dd18)
        reason: CrashLoopBackOff
  hostIP: 199.204.45.156
  initContainerStatuses:
  - containerID: containerd://6496de54a44d914ba8a6439b272d137c6f5164d1fe4e4dfbc336f203b7f25e4a
    image: sha256:bb81a055dbbfed076017140093ff8bb9d0667bf9ed74361fd370dc8cc0b9375a
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/ovn-bgp-agent@sha256:98f80380aec29ea1cedd9a923edb411706fb7528bfe13daae6dd086e40997d55
    lastState: {}
    name: ovn-bgp-agent-init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://6496de54a44d914ba8a6439b272d137c6f5164d1fe4e4dfbc336f203b7f25e4a
        exitCode: 0
        finishedAt: "2026-07-25T21:38:35Z"
        reason: Completed
        startedAt: "2026-07-25T21:38:35Z"
  phase: Running
  podIP: 199.204.45.156
  podIPs:
  - ip: 199.204.45.156
  qosClass: BestEffort
  startTime: "2026-07-25T21:38:28Z"
