apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-04-28T23:25:00Z"
  generateName: senlin-engine-cleaner-29623645-
  labels:
    application: senlin
    batch.kubernetes.io/controller-uid: 7c195de0-52e8-4f37-8312-a968b3f1202a
    batch.kubernetes.io/job-name: senlin-engine-cleaner-29623645
    component: engine-cleaner
    controller-uid: 7c195de0-52e8-4f37-8312-a968b3f1202a
    job-name: senlin-engine-cleaner-29623645
    release_group: senlin
  name: senlin-engine-cleaner-29623645-zxcml
  namespace: openstack
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: Job
    name: senlin-engine-cleaner-29623645
    uid: 7c195de0-52e8-4f37-8312-a968b3f1202a
  resourceVersion: "31796"
  uid: 17955950-bee0-4f34-968b-1aefd8cfb82b
spec:
  containers:
  - command:
    - /tmp/senlin-engine-cleaner.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin:2023.1@sha256:dec96af81bc2a5b07f6791f8531a58d1d8d76b14242b349a3726050486fc7ebb
    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-mm2h2
      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-mm2h2
      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-mm2h2
    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-28T23:25:03Z"
    reason: PodCompleted
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T23:25:06Z"
    reason: PodCompleted
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T23:25:06Z"
    reason: PodCompleted
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T23:25:00Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://2d403c1f3f598c56cc1aa0254207ffb5285a710769e7c9cbbdf19e2e636bd4ad
    image: sha256:69aced1c600642954ad862ac453a57b86d70f9b12ab3a9298ec37c65b75a60e9
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin@sha256:dec96af81bc2a5b07f6791f8531a58d1d8d76b14242b349a3726050486fc7ebb
    lastState: {}
    name: senlin-engine-cleaner
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://2d403c1f3f598c56cc1aa0254207ffb5285a710769e7c9cbbdf19e2e636bd4ad
        exitCode: 0
        finishedAt: "2026-04-28T23:25:06Z"
        reason: Completed
        startedAt: "2026-04-28T23:25:03Z"
  hostIP: 199.204.45.3
  initContainerStatuses:
  - containerID: containerd://57d4526403762e4907f4081419f8ee3ee00225a5e2a9aa7a6f0ec4c846476f73
    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://57d4526403762e4907f4081419f8ee3ee00225a5e2a9aa7a6f0ec4c846476f73
        exitCode: 0
        finishedAt: "2026-04-28T23:25:03Z"
        reason: Completed
        startedAt: "2026-04-28T23:25:01Z"
  phase: Succeeded
  podIP: 10.0.0.37
  podIPs:
  - ip: 10.0.0.37
  qosClass: BestEffort
  startTime: "2026-04-28T23:25:00Z"
