apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-03-04T01:37:59Z"
  generateName: rook-ceph-crashcollector-instance-cb464b779-
  labels:
    app: rook-ceph-crashcollector
    ceph-version: 18.2.1-0
    ceph_daemon_id: crash
    crashcollector: crash
    kubernetes.io/hostname: instance
    node_name: instance
    pod-template-hash: cb464b779
    rook-version: v1.10.10
    rook_cluster: openstack
  name: rook-ceph-crashcollector-instance-cb464b779-2h7zq
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: rook-ceph-crashcollector-instance-cb464b779
    uid: b8342a83-ced0-4212-ade5-30b03d3fcaef
  resourceVersion: "9141"
  uid: d717cb4a-e348-499d-bf47-2e22c1087313
spec:
  containers:
  - command:
    - ceph-crash
    env:
    - name: CONTAINER_IMAGE
      value: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.1
    - name: POD_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.name
    - name: POD_NAMESPACE
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: metadata.namespace
    - name: NODE_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: spec.nodeName
    - name: POD_MEMORY_LIMIT
      valueFrom:
        resourceFieldRef:
          divisor: "0"
          resource: limits.memory
    - name: POD_MEMORY_REQUEST
      valueFrom:
        resourceFieldRef:
          divisor: "0"
          resource: requests.memory
    - name: POD_CPU_LIMIT
      valueFrom:
        resourceFieldRef:
          divisor: "1"
          resource: limits.cpu
    - name: POD_CPU_REQUEST
      valueFrom:
        resourceFieldRef:
          divisor: "0"
          resource: requests.cpu
    - name: CEPH_USE_RANDOM_NONCE
      value: "true"
    - name: ROOK_CEPH_MON_HOST
      valueFrom:
        secretKeyRef:
          key: mon_host
          name: rook-ceph-config
    - name: ROOK_CEPH_MON_INITIAL_MEMBERS
      valueFrom:
        secretKeyRef:
          key: mon_initial_members
          name: rook-ceph-config
    - name: CEPH_ARGS
      value: -m $(ROOK_CEPH_MON_HOST) -k /etc/ceph/crash-collector-keyring-store/keyring
    image: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.1
    imagePullPolicy: IfNotPresent
    name: ceph-crash
    resources:
      limits:
        cpu: 500m
        memory: 60Mi
      requests:
        cpu: 100m
        memory: 60Mi
    securityContext:
      privileged: false
      runAsGroup: 167
      runAsUser: 167
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/ceph
      name: rook-config-override
      readOnly: true
    - mountPath: /var/log/ceph
      name: rook-ceph-log
    - mountPath: /var/lib/ceph/crash
      name: rook-ceph-crash
    - mountPath: /etc/ceph/crash-collector-keyring-store/
      name: rook-ceph-crash-collector-keyring
      readOnly: true
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-rt2xv
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  initContainers:
  - args:
    - /var/lib/ceph/crash/posted
    command:
    - mkdir
    - -p
    image: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.1
    imagePullPolicy: IfNotPresent
    name: make-container-crash-dir
    resources:
      limits:
        cpu: 500m
        memory: 60Mi
      requests:
        cpu: 100m
        memory: 60Mi
    securityContext:
      privileged: false
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/ceph
      name: rook-config-override
      readOnly: true
    - mountPath: /var/log/ceph
      name: rook-ceph-log
    - mountPath: /var/lib/ceph/crash
      name: rook-ceph-crash
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-rt2xv
      readOnly: true
  - args:
    - --verbose
    - --recursive
    - ceph:ceph
    - /var/log/ceph
    - /var/lib/ceph/crash
    command:
    - chown
    image: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.1
    imagePullPolicy: IfNotPresent
    name: chown-container-data-dir
    resources:
      limits:
        cpu: 500m
        memory: 60Mi
      requests:
        cpu: 100m
        memory: 60Mi
    securityContext:
      privileged: false
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/ceph
      name: rook-config-override
      readOnly: true
    - mountPath: /var/log/ceph
      name: rook-ceph-log
    - mountPath: /var/lib/ceph/crash
      name: rook-ceph-crash
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-rt2xv
      readOnly: true
  nodeName: instance
  nodeSelector:
    kubernetes.io/hostname: instance
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: default
  serviceAccountName: default
  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: 5
  volumes:
  - name: rook-config-override
    projected:
      defaultMode: 420
      sources:
      - configMap:
          items:
          - key: config
            mode: 292
            path: ceph.conf
          name: rook-config-override
  - hostPath:
      path: /var/lib/rook/openstack/log
      type: ""
    name: rook-ceph-log
  - hostPath:
      path: /var/lib/rook/openstack/crash
      type: ""
    name: rook-ceph-crash
  - name: rook-ceph-crash-collector-keyring
    secret:
      defaultMode: 420
      secretName: rook-ceph-crash-collector-keyring
  - name: kube-api-access-rt2xv
    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-03-04T01:38:01Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-03-04T01:38:02Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-03-04T01:38:02Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-03-04T01:37:59Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://5ea3d00e14686293895bd054d7f82b87fc053c501a623d098c9add5d0e995926
    image: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.1
    imageID: harbor.atmosphere.dev/quay.io/ceph/ceph@sha256:9f35728f6070a596500c0804814a12ab6b98e05067316dc64876fb4b28d04af3
    lastState: {}
    name: ceph-crash
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-03-04T01:38:01Z"
  hostIP: 162.253.55.227
  initContainerStatuses:
  - containerID: containerd://b53b5ea5c277de4433fd26a99b9586baae69da3ae695dccfafb63badf8e2130b
    image: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.1
    imageID: harbor.atmosphere.dev/quay.io/ceph/ceph@sha256:9f35728f6070a596500c0804814a12ab6b98e05067316dc64876fb4b28d04af3
    lastState: {}
    name: make-container-crash-dir
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://b53b5ea5c277de4433fd26a99b9586baae69da3ae695dccfafb63badf8e2130b
        exitCode: 0
        finishedAt: "2026-03-04T01:38:00Z"
        reason: Completed
        startedAt: "2026-03-04T01:38:00Z"
  - containerID: containerd://d6394536f64ea6b803e534bf8b69f67581b3064822e0f62f96c3cbb73fdfd44a
    image: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.1
    imageID: harbor.atmosphere.dev/quay.io/ceph/ceph@sha256:9f35728f6070a596500c0804814a12ab6b98e05067316dc64876fb4b28d04af3
    lastState: {}
    name: chown-container-data-dir
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://d6394536f64ea6b803e534bf8b69f67581b3064822e0f62f96c3cbb73fdfd44a
        exitCode: 0
        finishedAt: "2026-03-04T01:38:00Z"
        reason: Completed
        startedAt: "2026-03-04T01:38:00Z"
  phase: Running
  podIP: 10.0.0.112
  podIPs:
  - ip: 10.0.0.112
  qosClass: Burstable
  startTime: "2026-03-04T01:37:59Z"
