apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: aebe6c8a587455d3a62bbe4a858320734710a77bb1fdf94c0c269467c7f3f83c
    configmap-etc-hash: 5e9118c9a5c64e6f1fb31a4ea60876cecb86a2035915b07c33fdfa6433df8da2
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-10-13T13:14:02Z"
  generateName: senlin-engine-d974d8b4f-
  labels:
    application: senlin
    component: engine
    pod-template-hash: d974d8b4f
    release_group: senlin
  name: senlin-engine-d974d8b4f-rdcg8
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: senlin-engine-d974d8b4f
    uid: 9b2f10e8-c1b6-4d43-a67c-e5a5c1bdd4bd
  resourceVersion: "20616"
  uid: c9050c6f-17d0-4ef1-b078-87b0f32e9cd7
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:zed@sha256:fd5e5ef2411d5402f41a37c3f6984bccb3801572a7bb8a534c642e4e5a42bb89
    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-w8gcl
      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-w8gcl
      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-w8gcl
    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-13T13:15:41Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-10-13T13:15:42Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-10-13T13:15:42Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-10-13T13:14:02Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://71f2e8ec2a0ee99334ab4223aab95731de9c02c8337e22f8be372a410cb4489b
    image: sha256:cab1d52a236fde3b39202c5b9e7ae49f6fd9b54acb1e462a95694e6958324ba1
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin@sha256:fd5e5ef2411d5402f41a37c3f6984bccb3801572a7bb8a534c642e4e5a42bb89
    lastState: {}
    name: senlin-engine
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-10-13T13:15:41Z"
  hostIP: 162.253.55.80
  initContainerStatuses:
  - containerID: containerd://beb1730e496c0cb3949e7bcd95bea713a4f58fe5c53c8c03486719c05a94d715
    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://beb1730e496c0cb3949e7bcd95bea713a4f58fe5c53c8c03486719c05a94d715
        exitCode: 0
        finishedAt: "2026-10-13T13:15:40Z"
        reason: Completed
        startedAt: "2026-10-13T13:14:04Z"
  phase: Running
  podIP: 10.0.0.7
  podIPs:
  - ip: 10.0.0.7
  qosClass: BestEffort
  startTime: "2026-10-13T13:14:02Z"
