apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 28c09cc219b47e43b49b0162934bfa12ddadb548aa8e0519fe99e1bf404ab948
    configmap-etc-hash: 27ae749cc62a4d7eb3ee07849fa4c0784f428b5ff0c644b6ef360ec5c5cb4642
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-22T19:01:00Z"
  generateName: neutron-netns-cleanup-cron-default-
  labels:
    application: neutron
    component: netns-cleanup-cron
    controller-revision-hash: 7fc74cb9d9
    pod-template-generation: "1"
    release_group: neutron
  name: neutron-netns-cleanup-cron-default-bms8v
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: neutron-netns-cleanup-cron-default
    uid: c99f4c32-90b0-43bb-8a15-ed23a242b129
  resourceVersion: "16655"
  uid: c285a4c3-14b2-4f92-83f9-ced1ca8ac574
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:2024.2@sha256:ecb847c53be2f05ece73f2b5d478c9d0bec77cd27da61c7a62b3508b2a224a9a
    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-md7sr
      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-md7sr
      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-md7sr
    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-04-22T19:01:01Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-22T19:01:11Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-22T19:01:11Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-22T19:01:00Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://a8332bc6aa4adfe21917b4da23b0aac02314df66fde405527a82bccc8ea6f59e
    image: sha256:cb0e790b290c8afd7c98c79a61e3789c785cd3c96bd035bc1b3aadbd677e6746
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:ecb847c53be2f05ece73f2b5d478c9d0bec77cd27da61c7a62b3508b2a224a9a
    lastState: {}
    name: neutron-netns-cleanup-cron
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-04-22T19:01:11Z"
  hostIP: 199.19.213.236
  initContainerStatuses:
  - containerID: containerd://add3650209e4f02870d30faa484d06152be6b7e63e955d9801f33c346fd467d2
    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://add3650209e4f02870d30faa484d06152be6b7e63e955d9801f33c346fd467d2
        exitCode: 0
        finishedAt: "2026-04-22T19:01:01Z"
        reason: Completed
        startedAt: "2026-04-22T19:01:01Z"
  phase: Running
  podIP: 199.19.213.236
  podIPs:
  - ip: 199.19.213.236
  qosClass: BestEffort
  startTime: "2026-04-22T19:01:00Z"
