apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: 2b3466bd53c256ec73ac8983b6a36c494af1290cb8596398cf00ceb0ba2f4cef
    configmap-etc-hash: 1d48eccbdc540ac2da2fade9c5169b9050384b30e9cd1cb4d1a613e3dbfcfbc2
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-02-25T17:45:40Z"
  generateName: neutron-netns-cleanup-cron-default-
  labels:
    application: neutron
    component: netns-cleanup-cron
    controller-revision-hash: 8699778f9f
    pod-template-generation: "1"
    release_group: neutron
  name: neutron-netns-cleanup-cron-default-84gf5
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: neutron-netns-cleanup-cron-default
    uid: 2ff5eddb-3423-41ae-b46e-1c128d63dc04
  resourceVersion: "15380"
  uid: df5cef84-c4da-409d-9234-4a0cd0bff9c6
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:55f9c67dda4cc7082739eea7cb21810862a56aac6fe8107a5f31627c601ab23e
    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-gv5mx
      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
    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-gv5mx
      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-gv5mx
    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-02-25T17:45:41Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-02-25T17:45:48Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-02-25T17:45:48Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-02-25T17:45:40Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://658ae014c6927b691c3b0601f7e93983c7293baa1060a7457c3005ec049f676b
    image: sha256:c12050c33f0d09817e0c2034185f960850c5538d0fbce73a1331d0d8adc2849c
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/neutron@sha256:55f9c67dda4cc7082739eea7cb21810862a56aac6fe8107a5f31627c601ab23e
    lastState: {}
    name: neutron-netns-cleanup-cron
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-02-25T17:45:48Z"
  hostIP: 199.204.45.131
  initContainerStatuses:
  - containerID: containerd://62a7a519c51cd5da182c5b34915fd44859ebce2e37f93eaad3e4aaae9984fe82
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint:edge
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/kubernetes-entrypoint@sha256:8921b64b87af184a1421dd856b2703bcf3cff9f50863cd0d18371cf964a87bd3
    lastState: {}
    name: init
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://62a7a519c51cd5da182c5b34915fd44859ebce2e37f93eaad3e4aaae9984fe82
        exitCode: 0
        finishedAt: "2026-02-25T17:45:40Z"
        reason: Completed
        startedAt: "2026-02-25T17:45:40Z"
  phase: Running
  podIP: 199.204.45.131
  podIPs:
  - ip: 199.204.45.131
  qosClass: BestEffort
  startTime: "2026-02-25T17:45:40Z"
