apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: aebe6c8a587455d3a62bbe4a858320734710a77bb1fdf94c0c269467c7f3f83c
    configmap-etc-hash: d4e013925548387537c52ba796c361e23b8bd9cbd031ca9be054b6169e516c28
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-05-07T23:57:48Z"
  generateName: senlin-api-69dc69d446-
  labels:
    application: senlin
    component: api
    pod-template-hash: 69dc69d446
    release_group: senlin
  name: senlin-api-69dc69d446-jlxpr
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: senlin-api-69dc69d446
    uid: 46712087-9a0e-4093-b0dc-208a3fb017f9
  resourceVersion: "18379"
  uid: 924a0d6f-4e00-429b-a16c-998ccf12bf75
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:
              - api
          topologyKey: kubernetes.io/hostname
        weight: 10
  containers:
  - command:
    - /tmp/senlin-api.sh
    - start
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin:2023.1@sha256:dec96af81bc2a5b07f6791f8531a58d1d8d76b14242b349a3726050486fc7ebb
    imagePullPolicy: IfNotPresent
    lifecycle:
      preStop:
        exec:
          command:
          - /tmp/senlin-api.sh
          - stop
    name: senlin-api
    ports:
    - containerPort: 8778
      name: s-api
      protocol: TCP
    readinessProbe:
      failureThreshold: 3
      httpGet:
        path: /
        port: 8778
        scheme: HTTP
      initialDelaySeconds: 5
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 1
    resources: {}
    securityContext:
      runAsUser: 42424
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/senlin-api.sh
      name: senlin-bin
      readOnly: true
      subPath: senlin-api.sh
    - mountPath: /etc/senlin
      name: pod-etc-senlin
    - mountPath: /var/cache/senlin
      name: pod-var-cache-senlin
    - mountPath: /etc/senlin/senlin-api-uwsgi.ini
      name: senlin-etc
      readOnly: true
      subPath: senlin-api-uwsgi.ini
    - mountPath: /etc/senlin/senlin.conf
      name: senlin-etc
      readOnly: true
      subPath: senlin.conf
    - mountPath: /etc/senlin/api-paste.ini
      name: senlin-etc
      readOnly: true
      subPath: api-paste.ini
    - mountPath: /etc/senlin/policy.yaml
      name: senlin-etc
      readOnly: true
      subPath: policy.yaml
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-dzpqj
      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,openstack:rabbitmq-senlin
    - 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-dzpqj
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: senlin-api
  serviceAccountName: senlin-api
  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
  - emptyDir: {}
    name: pod-var-cache-senlin
  - configMap:
      defaultMode: 365
      name: senlin-bin
    name: senlin-bin
  - name: senlin-etc
    secret:
      defaultMode: 292
      secretName: senlin-etc
  - name: kube-api-access-dzpqj
    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-05-07T23:59:26Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-05-07T23:59:38Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-05-07T23:59:38Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-05-07T23:57:48Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://504f8ca9062fae0668da0a0e91d969eea16fe160d464d496e71188738f2cdf9c
    image: sha256:69aced1c600642954ad862ac453a57b86d70f9b12ab3a9298ec37c65b75a60e9
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin@sha256:dec96af81bc2a5b07f6791f8531a58d1d8d76b14242b349a3726050486fc7ebb
    lastState: {}
    name: senlin-api
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-05-07T23:59:26Z"
  hostIP: 199.204.45.140
  initContainerStatuses:
  - containerID: containerd://6e68fdc56af1ccea90a04fe75ff988c74b5a4cdbe241caa70b6ea52ae896f7eb
    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://6e68fdc56af1ccea90a04fe75ff988c74b5a4cdbe241caa70b6ea52ae896f7eb
        exitCode: 0
        finishedAt: "2026-05-07T23:59:26Z"
        reason: Completed
        startedAt: "2026-05-07T23:57:49Z"
  phase: Running
  podIP: 10.0.0.155
  podIPs:
  - ip: 10.0.0.155
  qosClass: BestEffort
  startTime: "2026-05-07T23:57:48Z"
