apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: c5e553bc84ef33a33fec964b0b16f48c478ce33c69921c808ecc74abe8bb6552
    configmap-etc-hash: 8c859311983e1ab01534dd003564142e5a553c46e875129c4aae90363cf115e6
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-05-27T20:17:59Z"
  generateName: neutron-dhcp-agent-default-
  labels:
    application: neutron
    component: dhcp-agent
    controller-revision-hash: 8bf9f4c58
    pod-template-generation: "1"
    release_group: neutron
  name: neutron-dhcp-agent-default-79jk2
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: neutron-dhcp-agent-default
    uid: 7492e47b-36c2-4822-8b57-08c5d85c40ca
  resourceVersion: "32590"
  uid: 8fef975f-d1c5-4a0a-8cf5-c557c02a748d
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchFields:
          - key: metadata.name
            operator: In
            values:
            - instance
  containers:
  - command:
    - /tmp/neutron-dhcp-agent.sh
    env:
    - name: RPC_PROBE_TIMEOUT
      value: "60"
    - name: RPC_PROBE_RETRIES
      value: "2"
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron:2025.2@sha256:607f7040eb2d0afd0f713cd8c126554b8f335ab88963f3309de11b994326bbc0
    imagePullPolicy: IfNotPresent
    livenessProbe:
      exec:
        command:
        - python
        - /tmp/health-probe.py
        - --config-file
        - /etc/neutron/neutron.conf
        - --config-file
        - /etc/neutron/dhcp_agent.ini
        - --agent-queue-name
        - dhcp_agent
        - --use-fqdn
      failureThreshold: 3
      initialDelaySeconds: 120
      periodSeconds: 600
      successThreshold: 1
      timeoutSeconds: 580
    name: neutron-dhcp-agent
    readinessProbe:
      exec:
        command:
        - python
        - /tmp/health-probe.py
        - --config-file
        - /etc/neutron/neutron.conf
        - --config-file
        - /etc/neutron/dhcp_agent.ini
        - --agent-queue-name
        - dhcp_agent
        - --use-fqdn
      failureThreshold: 3
      initialDelaySeconds: 30
      periodSeconds: 190
      successThreshold: 1
      timeoutSeconds: 185
    resources: {}
    securityContext:
      privileged: true
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/pod-shared
      name: pod-shared
    - mountPath: /var/lib/neutron
      name: pod-var-neutron
    - mountPath: /tmp/neutron-dhcp-agent.sh
      name: neutron-bin
      readOnly: true
      subPath: neutron-dhcp-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/plugins/ml2/openvswitch_agent.ini
      name: neutron-etc
      readOnly: true
      subPath: openvswitch_agent.ini
    - mountPath: /etc/neutron/dhcp_agent.ini
      name: neutron-etc
      readOnly: true
      subPath: dhcp_agent.ini
    - mountPath: /etc/neutron/dnsmasq.conf
      name: neutron-etc
      readOnly: true
      subPath: dnsmasq.conf
    - mountPath: /etc/neutron/metadata_agent.ini
      name: neutron-etc
      readOnly: true
      subPath: 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: /run/xtables.lock
      name: iptables-lockfile
    - 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-k7j5d
      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:rabbitmq-neutron,openstack:neutron-server,openstack:nova-api
    - name: DEPENDENCY_JOBS
      value: neutron-rabbit-init
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
      value: '[{"labels":{"application":"neutron","component":"neutron-ovs-agent"},"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-k7j5d
      readOnly: true
  - command:
    - /tmp/neutron-dhcp-agent-init.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron:2025.2@sha256:607f7040eb2d0afd0f713cd8c126554b8f335ab88963f3309de11b994326bbc0
    imagePullPolicy: IfNotPresent
    name: neutron-dhcp-agent-init
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/pod-shared
      name: pod-shared
    - mountPath: /tmp/neutron-dhcp-agent-init.sh
      name: neutron-bin
      readOnly: true
      subPath: neutron-dhcp-agent-init.sh
    - mountPath: /etc/neutron/neutron.conf
      name: neutron-etc
      readOnly: true
      subPath: neutron.conf
    - mountPath: /etc/neutron/dhcp_agent.ini
      name: neutron-etc
      readOnly: true
      subPath: dhcp_agent.ini
    - mountPath: /etc/neutron/metadata_agent.ini
      name: neutron-etc
      readOnly: true
      subPath: metadata_agent.ini
    - mountPath: /etc/neutron/plugins/ml2/ml2_conf.ini
      name: neutron-etc
      readOnly: true
      subPath: ml2_conf.ini
    - mountPath: /etc/neutron/plugins/ml2/openvswitch_agent.ini
      name: neutron-etc
      readOnly: true
      subPath: openvswitch_agent.ini
    - mountPath: /etc/sudoers.d/kolla_neutron_sudoers
      name: neutron-etc
      readOnly: true
      subPath: neutron_sudoers
    - mountPath: /tmp/auto_bridge_add
      name: neutron-etc
      readOnly: true
      subPath: auto_bridge_add
    - 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/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-k7j5d
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 42424
  serviceAccount: neutron-dhcp-agent
  serviceAccountName: neutron-dhcp-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
  - configMap:
      defaultMode: 365
      name: neutron-bin
    name: neutron-bin
  - name: neutron-etc
    secret:
      defaultMode: 292
      secretName: neutron-dhcp-agent-default
  - hostPath:
      path: /run/xtables.lock
      type: FileOrCreate
    name: iptables-lockfile
  - hostPath:
      path: /var/lib/neutron/openstack-helm
      type: ""
    name: socket
  - emptyDir: {}
    name: pod-shared
  - hostPath:
      path: /run/netns
      type: ""
    name: host-run-netns
  - name: kube-api-access-k7j5d
    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-27T20:20:44Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-27T20:17:59Z"
    message: 'containers with unready status: [neutron-dhcp-agent]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-27T20:17:59Z"
    message: 'containers with unready status: [neutron-dhcp-agent]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-27T20:17:59Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://b9def2e6f646c8824dceac01d96a1c358e54f1dbdf886ab0b4fa22aa5fa809a9
    image: sha256:373d164cd0754c9712885f545596c1d264abfcf15203bc56c59931f2a4dd343e
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:607f7040eb2d0afd0f713cd8c126554b8f335ab88963f3309de11b994326bbc0
    lastState:
      terminated:
        containerID: containerd://2da0084fb0750d7003a47466a20363a077b4bb24916288eb629799e1e79730a5
        exitCode: 137
        finishedAt: "2026-05-27T20:48:31Z"
        reason: Error
        startedAt: "2026-05-27T20:20:44Z"
    name: neutron-dhcp-agent
    ready: false
    restartCount: 1
    started: true
    state:
      running:
        startedAt: "2026-05-27T20:48:32Z"
  hostIP: 199.19.213.104
  initContainerStatuses:
  - containerID: containerd://1c2a7b0f114929bb60ae9a46fe644e6fe613a7acd152ad5b38cac752ba89ba1f
    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://1c2a7b0f114929bb60ae9a46fe644e6fe613a7acd152ad5b38cac752ba89ba1f
        exitCode: 0
        finishedAt: "2026-05-27T20:20:42Z"
        reason: Completed
        startedAt: "2026-05-27T20:18:00Z"
  - containerID: containerd://f174fa5a6bbcce2e1e73b7594d32500aeed4cc5dfe9796660fad73461881e9de
    image: sha256:373d164cd0754c9712885f545596c1d264abfcf15203bc56c59931f2a4dd343e
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:607f7040eb2d0afd0f713cd8c126554b8f335ab88963f3309de11b994326bbc0
    lastState: {}
    name: neutron-dhcp-agent-init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://f174fa5a6bbcce2e1e73b7594d32500aeed4cc5dfe9796660fad73461881e9de
        exitCode: 0
        finishedAt: "2026-05-27T20:20:43Z"
        reason: Completed
        startedAt: "2026-05-27T20:20:43Z"
  phase: Running
  podIP: 199.19.213.104
  podIPs:
  - ip: 199.19.213.104
  qosClass: BestEffort
  startTime: "2026-05-27T20:17:59Z"
