apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-07-28T15:30:00Z"
  generateName: senlin-engine-cleaner-29754210-
  labels:
    application: senlin
    batch.kubernetes.io/controller-uid: ea48a335-7b2f-4ca4-83b4-59998283e21b
    batch.kubernetes.io/job-name: senlin-engine-cleaner-29754210
    component: engine-cleaner
    controller-uid: ea48a335-7b2f-4ca4-83b4-59998283e21b
    job-name: senlin-engine-cleaner-29754210
    release_group: senlin
  name: senlin-engine-cleaner-29754210-vg9lb
  namespace: openstack
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: Job
    name: senlin-engine-cleaner-29754210
    uid: ea48a335-7b2f-4ca4-83b4-59998283e21b
  resourceVersion: "39120"
  uid: 86d70325-c401-4da9-8a3b-a2658b1c58f8
spec:
  containers:
  - command:
    - /tmp/senlin-engine-cleaner.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin:2023.1@sha256:ab5205f7006c7e04b88f3a192cc43b60f99a84bd5f803cc1775e2dc6ce1cd82f
    imagePullPolicy: IfNotPresent
    name: senlin-engine-cleaner
    resources: {}
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/senlin-engine-cleaner.sh
      name: senlin-bin
      readOnly: true
      subPath: senlin-engine-cleaner.sh
    - mountPath: /etc/senlin
      name: etcsenlin
    - mountPath: /etc/senlin/senlin.conf
      name: senlin-etc
      readOnly: true
      subPath: senlin.conf
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-w7xp7
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: 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:percona-xtradb-haproxy,openstack:rabbitmq-senlin,openstack:keystone-api
    - name: DEPENDENCY_JOBS
      value: senlin-db-sync
    - 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-w7xp7
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: OnFailure
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: senlin-engine-cleaner
  serviceAccountName: senlin-engine-cleaner
  terminationGracePeriodSeconds: 30
  tolerations:
  - effect: NoExecute
    key: node.kubernetes.io/not-ready
    operator: Exists
    tolerationSeconds: 300
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
    tolerationSeconds: 300
  volumes:
  - emptyDir: {}
    name: pod-tmp
  - emptyDir: {}
    name: etcsenlin
  - name: senlin-etc
    secret:
      defaultMode: 292
      secretName: senlin-etc
  - configMap:
      defaultMode: 365
      name: senlin-bin
    name: senlin-bin
  - name: kube-api-access-w7xp7
    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-07-28T15:30:03Z"
    reason: PodCompleted
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-07-28T15:30:06Z"
    reason: PodCompleted
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-07-28T15:30:06Z"
    reason: PodCompleted
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-07-28T15:30:00Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://df6d6413a37f95666be22519778adff9bfef29f0edd1c3bd95f9ccd7910b3a2d
    image: sha256:6cf7e7ce5be363be39e3f1df461f582c3e57a150ec193081a1ae9bb8529e3c26
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin@sha256:ab5205f7006c7e04b88f3a192cc43b60f99a84bd5f803cc1775e2dc6ce1cd82f
    lastState: {}
    name: senlin-engine-cleaner
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://df6d6413a37f95666be22519778adff9bfef29f0edd1c3bd95f9ccd7910b3a2d
        exitCode: 0
        finishedAt: "2026-07-28T15:30:06Z"
        reason: Completed
        startedAt: "2026-07-28T15:30:03Z"
  hostIP: 199.204.45.44
  initContainerStatuses:
  - containerID: containerd://add27a1f1b9b251eb7fef2a38bab556203ce4698a2a31abf50b3261f4b56038b
    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://add27a1f1b9b251eb7fef2a38bab556203ce4698a2a31abf50b3261f4b56038b
        exitCode: 0
        finishedAt: "2026-07-28T15:30:03Z"
        reason: Completed
        startedAt: "2026-07-28T15:30:01Z"
  phase: Succeeded
  podIP: 10.0.0.251
  podIPs:
  - ip: 10.0.0.251
  qosClass: BestEffort
  startTime: "2026-07-28T15:30:00Z"
