apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: ace39690f6b4e5c4e6b2dbcdb88a997adb243c2767212635a3ae6dd09b976928
    configmap-etc-hash: a53a750c94f8f2d0e0b2188b3e25ff06755d01c99555bff03a498eedf2935442
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-05-27T01:13:56Z"
  generateName: neutron-ovn-metadata-agent-default-
  labels:
    application: neutron
    component: ovn-metadata-agent
    controller-revision-hash: d8f5bb76f
    pod-template-generation: "1"
    release_group: neutron
  name: neutron-ovn-metadata-agent-default-dcf65
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: neutron-ovn-metadata-agent-default
    uid: 0505d22a-3ae2-4a84-a117-003a80e6d8ac
  resourceVersion: "18342"
  uid: ee18d9e6-ef99-4a4b-9db9-bd8d281d3909
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchFields:
          - key: metadata.name
            operator: In
            values:
            - instance
  containers:
  - command:
    - /tmp/neutron-ovn-metadata-agent.sh
    env:
    - name: RPC_PROBE_TIMEOUT
      value: "60"
    - name: RPC_PROBE_RETRIES
      value: "2"
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron:2024.1@sha256:c3b661298313012979739c1e11554f1129c080430279f980805fc794fee7b767
    imagePullPolicy: IfNotPresent
    livenessProbe:
      exec:
        command:
        - python
        - /tmp/health-probe.py
        - --config-file
        - /etc/neutron/neutron.conf
        - --config-file
        - /etc/neutron/ovn_metadata_agent.ini
        - --liveness-probe
        - --use-fqdn
      failureThreshold: 3
      initialDelaySeconds: 120
      periodSeconds: 600
      successThreshold: 1
      timeoutSeconds: 580
    name: neutron-ovn-metadata-agent
    readinessProbe:
      exec:
        command:
        - python
        - /tmp/health-probe.py
        - --config-file
        - /etc/neutron/neutron.conf
        - --config-file
        - /etc/neutron/ovn_metadata_agent.ini
        - --use-fqdn
      failureThreshold: 3
      initialDelaySeconds: 30
      periodSeconds: 190
      successThreshold: 1
      timeoutSeconds: 185
    resources: {}
    securityContext:
      privileged: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /run/openvswitch
      name: run-openvswitch
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /var/lib/neutron
      name: pod-var-neutron
    - mountPath: /tmp/neutron-ovn-metadata-agent.sh
      name: neutron-bin
      readOnly: true
      subPath: neutron-ovn-metadata-agent.sh
    - mountPath: /tmp/health-probe.py
      name: neutron-bin
      readOnly: true
      subPath: health-probe.py
    - mountPath: /etc/neutron/neutron.conf
      name: neutron-etc
      readOnly: true
      subPath: neutron.conf
    - mountPath: /etc/neutron/plugins/ml2/ml2_conf.ini
      name: neutron-etc
      readOnly: true
      subPath: ml2_conf.ini
    - mountPath: /etc/neutron/ovn_metadata_agent.ini
      name: neutron-etc
      readOnly: true
      subPath: ovn_metadata_agent.ini
    - mountPath: /etc/sudoers.d/kolla_neutron_sudoers
      name: neutron-etc
      readOnly: true
      subPath: neutron_sudoers
    - mountPath: /etc/neutron/rootwrap.conf
      name: neutron-etc
      readOnly: true
      subPath: rootwrap.conf
    - mountPath: /etc/neutron/rootwrap.d/debug.filters
      name: neutron-etc
      readOnly: true
      subPath: debug.filters
    - mountPath: /etc/neutron/rootwrap.d/dhcp.filters
      name: neutron-etc
      readOnly: true
      subPath: dhcp.filters
    - mountPath: /etc/neutron/rootwrap.d/dibbler.filters
      name: neutron-etc
      readOnly: true
      subPath: dibbler.filters
    - mountPath: /etc/neutron/rootwrap.d/ebtables.filters
      name: neutron-etc
      readOnly: true
      subPath: ebtables.filters
    - mountPath: /etc/neutron/rootwrap.d/ipset-firewall.filters
      name: neutron-etc
      readOnly: true
      subPath: ipset-firewall.filters
    - mountPath: /etc/neutron/rootwrap.d/iptables-firewall.filters
      name: neutron-etc
      readOnly: true
      subPath: iptables-firewall.filters
    - mountPath: /etc/neutron/rootwrap.d/l3.filters
      name: neutron-etc
      readOnly: true
      subPath: l3.filters
    - mountPath: /etc/neutron/rootwrap.d/linuxbridge-plugin.filters
      name: neutron-etc
      readOnly: true
      subPath: linuxbridge-plugin.filters
    - mountPath: /etc/neutron/rootwrap.d/netns-cleanup.filters
      name: neutron-etc
      readOnly: true
      subPath: netns-cleanup.filters
    - mountPath: /etc/neutron/rootwrap.d/openvswitch-plugin.filters
      name: neutron-etc
      readOnly: true
      subPath: openvswitch-plugin.filters
    - mountPath: /etc/neutron/rootwrap.d/privsep.filters
      name: neutron-etc
      readOnly: true
      subPath: privsep.filters
    - mountPath: /var/lib/neutron/openstack-helm
      name: socket
    - mountPath: /run/netns
      mountPropagation: Bidirectional
      name: host-run-netns
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-5sr8g
      readOnly: true
  dnsPolicy: ClusterFirstWithHostNet
  enableServiceLinks: true
  hostNetwork: true
  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
      value: openstack:nova-metadata,openstack:neutron-server
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
      value: '[{"labels":{"application":"ovn","component":"ovn-controller"},"requireSameNode":true}]'
    - 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-5sr8g
      readOnly: true
  - command:
    - /tmp/neutron-metadata-agent-init.sh
    env:
    - name: NEUTRON_USER_UID
      value: "42424"
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron:2024.1@sha256:c3b661298313012979739c1e11554f1129c080430279f980805fc794fee7b767
    imagePullPolicy: IfNotPresent
    name: neutron-metadata-agent-init
    resources: {}
    securityContext:
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /run/openvswitch
      name: run-openvswitch
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/neutron-metadata-agent-init.sh
      name: neutron-bin
      readOnly: true
      subPath: neutron-metadata-agent-init.sh
    - mountPath: /etc/neutron/neutron.conf
      name: neutron-etc
      readOnly: true
      subPath: neutron.conf
    - mountPath: /var/lib/neutron/openstack-helm
      name: socket
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-5sr8g
      readOnly: true
  - command:
    - /tmp/neutron-ovn-init.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron:2024.1@sha256:c3b661298313012979739c1e11554f1129c080430279f980805fc794fee7b767
    imagePullPolicy: IfNotPresent
    name: ovn-neutron-init
    resources: {}
    securityContext:
      readOnlyRootFilesystem: true
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/neutron-ovn-init.sh
      name: neutron-bin
      readOnly: true
      subPath: neutron-ovn-init.sh
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-5sr8g
      readOnly: true
  nodeName: instance
  nodeSelector:
    openvswitch: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 42424
  serviceAccount: neutron-ovn-metadata-agent
  serviceAccountName: neutron-ovn-metadata-agent
  shareProcessNamespace: true
  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:
  - emptyDir: {}
    name: pod-tmp
  - emptyDir: {}
    name: pod-var-neutron
  - hostPath:
      path: /run/openvswitch
      type: ""
    name: run-openvswitch
  - configMap:
      defaultMode: 365
      name: neutron-bin
    name: neutron-bin
  - name: neutron-etc
    secret:
      defaultMode: 292
      secretName: neutron-ovn-metadata-agent-default
  - hostPath:
      path: /var/lib/neutron/openstack-helm
      type: ""
    name: socket
  - hostPath:
      path: /run/netns
      type: ""
    name: host-run-netns
  - name: kube-api-access-5sr8g
    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-05-27T01:16:52Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-27T01:18:09Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-27T01:18:09Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-27T01:13:56Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://d49187d86501abf2e4392972432c166b0ba0373aa0c9501033d6424f6f2e0331
    image: sha256:891a2dda5d1e8abf07cc809749774ceefe8c6932b06ad63a82facbd2203510eb
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:c3b661298313012979739c1e11554f1129c080430279f980805fc794fee7b767
    lastState: {}
    name: neutron-ovn-metadata-agent
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-05-27T01:16:52Z"
  hostIP: 199.204.45.140
  initContainerStatuses:
  - containerID: containerd://9ad65bbde2e64e8c5ddd7797ca98ec27f2f0423c6c057b1ca9c734c451b9e6d3
    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://9ad65bbde2e64e8c5ddd7797ca98ec27f2f0423c6c057b1ca9c734c451b9e6d3
        exitCode: 0
        finishedAt: "2026-05-27T01:16:49Z"
        reason: Completed
        startedAt: "2026-05-27T01:13:57Z"
  - containerID: containerd://ac0441a643d72b6ddfa09268f0b45b0a1e44b843b8c72cead7f77520dcc53f3f
    image: sha256:891a2dda5d1e8abf07cc809749774ceefe8c6932b06ad63a82facbd2203510eb
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:c3b661298313012979739c1e11554f1129c080430279f980805fc794fee7b767
    lastState: {}
    name: neutron-metadata-agent-init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://ac0441a643d72b6ddfa09268f0b45b0a1e44b843b8c72cead7f77520dcc53f3f
        exitCode: 0
        finishedAt: "2026-05-27T01:16:50Z"
        reason: Completed
        startedAt: "2026-05-27T01:16:50Z"
  - containerID: containerd://842af14644970250f7a564462952a3e03121387155dc8a77bf579e4617c1023f
    image: sha256:891a2dda5d1e8abf07cc809749774ceefe8c6932b06ad63a82facbd2203510eb
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:c3b661298313012979739c1e11554f1129c080430279f980805fc794fee7b767
    lastState: {}
    name: ovn-neutron-init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://842af14644970250f7a564462952a3e03121387155dc8a77bf579e4617c1023f
        exitCode: 0
        finishedAt: "2026-05-27T01:16:51Z"
        reason: Completed
        startedAt: "2026-05-27T01:16:51Z"
  phase: Running
  podIP: 199.204.45.140
  podIPs:
  - ip: 199.204.45.140
  qosClass: BestEffort
  startTime: "2026-05-27T01:13:56Z"
