apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-04-28T18:35:00Z"
  generateName: senlin-engine-cleaner-29623355-
  labels:
    application: senlin
    batch.kubernetes.io/controller-uid: feaaffa8-422c-4a00-b194-bd8b6f1eb98c
    batch.kubernetes.io/job-name: senlin-engine-cleaner-29623355
    component: engine-cleaner
    controller-uid: feaaffa8-422c-4a00-b194-bd8b6f1eb98c
    job-name: senlin-engine-cleaner-29623355
    release_group: senlin
  name: senlin-engine-cleaner-29623355-br9nw
  namespace: openstack
  ownerReferences:
  - apiVersion: batch/v1
    blockOwnerDeletion: true
    controller: true
    kind: Job
    name: senlin-engine-cleaner-29623355
    uid: feaaffa8-422c-4a00-b194-bd8b6f1eb98c
  resourceVersion: "35998"
  uid: 7d6ae672-a9a0-4490-a396-e1498b5105fa
spec:
  containers:
  - command:
    - /tmp/senlin-engine-cleaner.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin:2023.1@sha256:fc0809ec9cf7a08c0378d8b80e2eed45c72009bb581999448f4ab2a48d369c39
    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-ncpzf
      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-ncpzf
      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-ncpzf
    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-28T18:35:03Z"
    reason: PodCompleted
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T18:35:07Z"
    reason: PodCompleted
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T18:35:07Z"
    reason: PodCompleted
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-28T18:35:00Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://d084d7f1d61c165ec40d35f62fb33c1ebeac5e7e4a8c34a5b6a6884b4610265b
    image: sha256:3f719cd4e4b655253b986664e76a9929ae9ee80fb167c11879a3e2234f7ca6cb
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin@sha256:fc0809ec9cf7a08c0378d8b80e2eed45c72009bb581999448f4ab2a48d369c39
    lastState: {}
    name: senlin-engine-cleaner
    ready: false
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://d084d7f1d61c165ec40d35f62fb33c1ebeac5e7e4a8c34a5b6a6884b4610265b
        exitCode: 0
        finishedAt: "2026-04-28T18:35:06Z"
        reason: Completed
        startedAt: "2026-04-28T18:35:03Z"
  hostIP: 199.19.213.209
  initContainerStatuses:
  - containerID: containerd://ee6d62585685e8870aefe275ec98cda1fc6b275dd3e1d22afa6b05f13f3fa5d0
    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://ee6d62585685e8870aefe275ec98cda1fc6b275dd3e1d22afa6b05f13f3fa5d0
        exitCode: 0
        finishedAt: "2026-04-28T18:35:03Z"
        reason: Completed
        startedAt: "2026-04-28T18:35:01Z"
  phase: Succeeded
  podIP: 10.0.0.91
  podIPs:
  - ip: 10.0.0.91
  qosClass: BestEffort
  startTime: "2026-04-28T18:35:00Z"
