apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 2c33379755f34d61bf1564e4617ff1b826c4e048b81792dae5498b72e444bf6d
    configmap-etc-hash: b67366f7e0b4c1e24439544bef115734aa789815d54f4775298d3a097eeda53c
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-23T00:48:50Z"
  generateName: neutron-netns-cleanup-cron-default-
  labels:
    application: neutron
    component: netns-cleanup-cron
    controller-revision-hash: 5679f7849d
    pod-template-generation: "1"
    release_group: neutron
  name: neutron-netns-cleanup-cron-default-29dtf
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: neutron-netns-cleanup-cron-default
    uid: 33bf0232-0e60-4194-a624-f43d4fc7bf6c
  resourceVersion: "16028"
  uid: b23fd599-1843-419c-be40-0f788deb9e9b
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:2023.1@sha256:1849ab03d4291d541117c9529c7a101a24249f08a80002cf35bdab74b8089f8a
    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-5v66c
      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-5v66c
      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-5v66c
    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-23T00:48:51Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-23T00:48:57Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-23T00:48:57Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-23T00:48:50Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://07dd34eeedc1781a5dda1b5402a313fe26346e03bcc91abf5f291bae7fc009f7
    image: sha256:03ccad9f6c821a21608cd6d83b92cf22b1c483d0b1fb28c89052dd73f84d9d15
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:1849ab03d4291d541117c9529c7a101a24249f08a80002cf35bdab74b8089f8a
    lastState: {}
    name: neutron-netns-cleanup-cron
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-04-23T00:48:57Z"
  hostIP: 199.204.45.244
  initContainerStatuses:
  - containerID: containerd://d71e27dcea985293313c57165c26de4fe44394c41c45764417d7dada478dc012
    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://d71e27dcea985293313c57165c26de4fe44394c41c45764417d7dada478dc012
        exitCode: 0
        finishedAt: "2026-04-23T00:48:51Z"
        reason: Completed
        startedAt: "2026-04-23T00:48:50Z"
  phase: Running
  podIP: 199.204.45.244
  podIPs:
  - ip: 199.204.45.244
  qosClass: BestEffort
  startTime: "2026-04-23T00:48:50Z"
