apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: aebe6c8a587455d3a62bbe4a858320734710a77bb1fdf94c0c269467c7f3f83c
    configmap-etc-hash: 4d9000d55790ed77e5e108584df5d63279e43201a7f174be35bf5849ce585f29
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-10-14T18:19:27Z"
  generateName: senlin-engine-9776556d4-
  labels:
    application: senlin
    component: engine
    pod-template-hash: 9776556d4
    release_group: senlin
  name: senlin-engine-9776556d4-c8lpz
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: senlin-engine-9776556d4
    uid: b42717af-71ac-49dd-879d-230f463bb4b9
  resourceVersion: "19363"
  uid: 621d95b8-cb4a-426f-b56b-487cee425760
spec:
  affinity:
    podAntiAffinity:
      preferredDuringSchedulingIgnoredDuringExecution:
      - podAffinityTerm:
          labelSelector:
            matchExpressions:
            - key: release_group
              operator: In
              values:
              - senlin
            - key: application
              operator: In
              values:
              - senlin
            - key: component
              operator: In
              values:
              - engine
          topologyKey: kubernetes.io/hostname
        weight: 10
  containers:
  - command:
    - /tmp/senlin-engine.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin:2023.1@sha256:6867aa1608b510613bae9cde3224d88a566abea10f24ba2a4444bb5e385c72c5
    imagePullPolicy: IfNotPresent
    name: senlin-engine
    resources: {}
    securityContext:
      runAsUser: 42424
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/senlin-engine.sh
      name: senlin-bin
      readOnly: true
      subPath: senlin-engine.sh
    - mountPath: /etc/senlin
      name: pod-etc-senlin
    - mountPath: /etc/senlin/senlin.conf
      name: senlin-etc
      readOnly: true
      subPath: senlin.conf
    - mountPath: /etc/senlin/policy.yaml
      name: senlin-etc
      readOnly: true
      subPath: policy.yaml
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-sd5wd
      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:keystone-api
    - name: DEPENDENCY_JOBS
      value: senlin-db-sync,senlin-ks-user,senlin-ks-endpoints,senlin-rabbit-init
    - 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-sd5wd
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: senlin-engine
  serviceAccountName: senlin-engine
  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: pod-etc-senlin
  - configMap:
      defaultMode: 365
      name: senlin-bin
    name: senlin-bin
  - name: senlin-etc
    secret:
      defaultMode: 292
      secretName: senlin-etc
  - name: kube-api-access-sd5wd
    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-10-14T18:21:05Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-10-14T18:21:06Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-10-14T18:21:06Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-10-14T18:19:27Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://29b0c177aff4f9f8b2ac7a39f4806a4db3a646fed18fe9ea90badd99d4b3db73
    image: sha256:9d53c8da512292bf066f3b2e70366d48c60cb416917c6c484ec75c37edad7f1f
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin@sha256:6867aa1608b510613bae9cde3224d88a566abea10f24ba2a4444bb5e385c72c5
    lastState: {}
    name: senlin-engine
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-10-14T18:21:05Z"
  hostIP: 162.253.55.91
  initContainerStatuses:
  - containerID: containerd://212a5092d25d19f47795377edc37e7fbed913c88ec1ac1a064df7ca172ca9a26
    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://212a5092d25d19f47795377edc37e7fbed913c88ec1ac1a064df7ca172ca9a26
        exitCode: 0
        finishedAt: "2026-10-14T18:21:05Z"
        reason: Completed
        startedAt: "2026-10-14T18:19:28Z"
  phase: Running
  podIP: 10.0.0.11
  podIPs:
  - ip: 10.0.0.11
  qosClass: BestEffort
  startTime: "2026-10-14T18:19:27Z"
