apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: c5e553bc84ef33a33fec964b0b16f48c478ce33c69921c808ecc74abe8bb6552
    configmap-etc-hash: 0476bc20f6e9e77018c517b5d17afd7a77ebba95547e128f76b5ac5db0b05dbe
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-03-03T21:44:00Z"
  generateName: neutron-netns-cleanup-cron-default-
  labels:
    application: neutron
    component: netns-cleanup-cron
    controller-revision-hash: f87fc9965
    pod-template-generation: "1"
    release_group: neutron
  name: neutron-netns-cleanup-cron-default-mtnp2
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: neutron-netns-cleanup-cron-default
    uid: edd3d374-0053-4145-9246-639e929c5886
  resourceVersion: "15235"
  uid: 26b3e0d3-2f1a-4e29-a7d0-d765af049422
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchFields:
          - key: metadata.name
            operator: In
            values:
            - instance
  containers:
  - command:
    - /tmp/neutron-netns-cleanup-cron.sh
    env:
    - name: OS_IDENTITY_API_VERSION
      value: "3"
    - name: OS_AUTH_URL
      valueFrom:
        secretKeyRef:
          key: OS_AUTH_URL
          name: neutron-keystone-admin
    - name: OS_REGION_NAME
      valueFrom:
        secretKeyRef:
          key: OS_REGION_NAME
          name: neutron-keystone-admin
    - name: OS_INTERFACE
      valueFrom:
        secretKeyRef:
          key: OS_INTERFACE
          name: neutron-keystone-admin
    - name: OS_ENDPOINT_TYPE
      valueFrom:
        secretKeyRef:
          key: OS_INTERFACE
          name: neutron-keystone-admin
    - name: OS_PROJECT_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_DOMAIN_NAME
          name: neutron-keystone-admin
    - name: OS_PROJECT_NAME
      valueFrom:
        secretKeyRef:
          key: OS_PROJECT_NAME
          name: neutron-keystone-admin
    - name: OS_USER_DOMAIN_NAME
      valueFrom:
        secretKeyRef:
          key: OS_USER_DOMAIN_NAME
          name: neutron-keystone-admin
    - name: OS_USERNAME
      valueFrom:
        secretKeyRef:
          key: OS_USERNAME
          name: neutron-keystone-admin
    - name: OS_PASSWORD
      valueFrom:
        secretKeyRef:
          key: OS_PASSWORD
          name: neutron-keystone-admin
    - name: OS_DEFAULT_DOMAIN
      valueFrom:
        secretKeyRef:
          key: OS_DEFAULT_DOMAIN
          name: neutron-keystone-admin
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron:main@sha256:37d2d700d684936c729ceb4b8f25c768cca234bc108d53c68487d4c26a464223
    imagePullPolicy: IfNotPresent
    name: neutron-netns-cleanup-cron
    resources: {}
    securityContext:
      privileged: true
      readOnlyRootFilesystem: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/neutron-netns-cleanup-cron.sh
      name: neutron-bin
      readOnly: true
      subPath: neutron-netns-cleanup-cron.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/l3_agent.ini
      name: neutron-etc
      readOnly: true
      subPath: l3_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/dhcp.filters
      name: neutron-etc
      readOnly: true
      subPath: dhcp.filters
    - mountPath: /etc/neutron/rootwrap.d/netns-cleanup.filters
      name: neutron-etc
      readOnly: true
      subPath: netns-cleanup.filters
    - mountPath: /etc/neutron/rootwrap.d/privsep.filters
      name: neutron-etc
      readOnly: true
      subPath: privsep.filters
    - mountPath: /lib/modules
      name: libmodules
      readOnly: true
    - 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-q2f4k
      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
    - name: DEPENDENCY_DAEMONSET
    - name: DEPENDENCY_CONTAINER
    - name: DEPENDENCY_POD_JSON
    - 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-q2f4k
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext:
    runAsUser: 42424
  serviceAccount: neutron-netns-cleanup-cron
  serviceAccountName: neutron-netns-cleanup-cron
  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-netns-cleanup-cron-default
  - hostPath:
      path: /lib/modules
      type: ""
    name: libmodules
  - hostPath:
      path: /run/xtables.lock
      type: FileOrCreate
    name: iptables-lockfile
  - hostPath:
      path: /var/lib/neutron/openstack-helm
      type: ""
    name: socket
  - hostPath:
      path: /run/netns
      type: ""
    name: host-run-netns
  - name: kube-api-access-q2f4k
    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-03-03T21:44:02Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-03-03T21:44:07Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-03-03T21:44:07Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-03-03T21:44:00Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://60886ef75f3c27c802b8c10822d27cce2bcf82e9ddba7d2076617bdb649def9b
    image: sha256:487d002aaf78d1fe28f6d42bee6a4d1fce4d9b53b028a46dcd2d7d75bdbfa8e0
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:37d2d700d684936c729ceb4b8f25c768cca234bc108d53c68487d4c26a464223
    lastState: {}
    name: neutron-netns-cleanup-cron
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-03-03T21:44:07Z"
  hostIP: 199.204.45.74
  initContainerStatuses:
  - containerID: containerd://d5a4cf87c0633de5048e3281fb63fcc118c6184d8068d959de8eee51eaa59b4f
    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://d5a4cf87c0633de5048e3281fb63fcc118c6184d8068d959de8eee51eaa59b4f
        exitCode: 0
        finishedAt: "2026-03-03T21:44:01Z"
        reason: Completed
        startedAt: "2026-03-03T21:44:01Z"
  phase: Running
  podIP: 199.204.45.74
  podIPs:
  - ip: 199.204.45.74
  qosClass: BestEffort
  startTime: "2026-03-03T21:44:00Z"
