apiVersion: v1
kind: Pod
metadata:
  annotations:
    configmap-bin-hash: aebe6c8a587455d3a62bbe4a858320734710a77bb1fdf94c0c269467c7f3f83c
    configmap-etc-hash: 4674bbccb6789cb7a55e7ef51f96f5a3f778f7dda4f34f72bafad610b9855b2b
    openstackhelm.openstack.org/release_uuid: ""
  creationTimestamp: "2026-04-23T00:51:43Z"
  generateName: senlin-health-manager-54558765c4-
  labels:
    application: senlin
    component: health_manager
    pod-template-hash: 54558765c4
    release_group: senlin
  name: senlin-health-manager-54558765c4-2mxdb
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: senlin-health-manager-54558765c4
    uid: d3d38607-b535-4ac0-99ef-aa16eed3ce15
  resourceVersion: "18229"
  uid: 8acff6d1-0d63-491a-9daa-8e2ea5502d0b
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:
              - health_manager
          topologyKey: kubernetes.io/hostname
        weight: 10
  containers:
  - command:
    - /tmp/senlin-health-manager.sh
    image: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin:2023.1@sha256:76198b20b5dd51f2796ada921a1c6ddd34189a1819e636f6f9520564ba9ea59d
    imagePullPolicy: IfNotPresent
    name: senlin-health-manager
    resources: {}
    securityContext:
      runAsUser: 42424
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /tmp
      name: pod-tmp
    - mountPath: /tmp/senlin-health-manager.sh
      name: senlin-bin
      readOnly: true
      subPath: senlin-health-manager.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.json
      name: senlin-etc
      readOnly: true
      subPath: policy.json
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-k4n8v
      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-k4n8v
      readOnly: true
  nodeName: instance
  nodeSelector:
    openstack-control-plane: enabled
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: senlin-health-manager
  serviceAccountName: senlin-health-manager
  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-k4n8v
    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-23T00:53:22Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-04-23T00:53:23Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-04-23T00:53:23Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-04-23T00:51:43Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://310cd5beb9e61ee32cac394f70075f825003af9cbbc5a8789ebcbc725d8e87d2
    image: sha256:554624938f5d8e6a427cf986408a56a6f20d509673a64c8a2432f61d47175c12
    imageID: harbor.atmosphere.dev/ghcr.io/vexxhost/senlin@sha256:76198b20b5dd51f2796ada921a1c6ddd34189a1819e636f6f9520564ba9ea59d
    lastState: {}
    name: senlin-health-manager
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-04-23T00:53:22Z"
  hostIP: 199.204.45.244
  initContainerStatuses:
  - containerID: containerd://b44765864fb0e09fd41de91da2ba273d850e9182575d7944a01f7ba8c74f2412
    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://b44765864fb0e09fd41de91da2ba273d850e9182575d7944a01f7ba8c74f2412
        exitCode: 0
        finishedAt: "2026-04-23T00:53:21Z"
        reason: Completed
        startedAt: "2026-04-23T00:51:44Z"
  phase: Running
  podIP: 10.0.0.11
  podIPs:
  - ip: 10.0.0.11
  qosClass: BestEffort
  startTime: "2026-04-23T00:51:43Z"
