apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-02-27T23:55:40Z"
  generateName: rook-ceph-crashcollector-instance-754c646bfd-
  labels:
    app: rook-ceph-crashcollector
    ceph-version: 18.2.7-0
    ceph_daemon_id: crash
    crashcollector: crash
    kubernetes.io/hostname: instance
    node_name: instance
    pod-template-hash: 754c646bfd
    rook_cluster: openstack
  name: rook-ceph-crashcollector-instance-754c646bfd-64pds
  namespace: openstack
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: ReplicaSet
    name: rook-ceph-crashcollector-instance-754c646bfd
    uid: 942c9da8-dee5-4559-b7bf-60787adf727e
  resourceVersion: "8495"
  uid: 62a40977-a5a4-43f2-a230-f201ea27df84
spec:
  containers:
  - command:
    - ceph-crash
    env:
    - name: CONTAINER_IMAGE
      value: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.7
    - 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_MSGR2
      value: msgr2_false_encryption_false_compression_false
    - 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.7
    imagePullPolicy: IfNotPresent
    name: ceph-crash
    resources:
      limits:
        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: /run/ceph
      name: ceph-daemons-sock-dir
    - 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-jrnb9
      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.7
    imagePullPolicy: IfNotPresent
    name: make-container-crash-dir
    resources:
      limits:
        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: /run/ceph
      name: ceph-daemons-sock-dir
    - 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-jrnb9
      readOnly: true
  - args:
    - --verbose
    - --recursive
    - ceph:ceph
    - /var/log/ceph
    - /var/lib/ceph/crash
    - /run/ceph
    command:
    - chown
    image: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.7
    imagePullPolicy: IfNotPresent
    name: chown-container-data-dir
    resources:
      limits:
        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: /run/ceph
      name: ceph-daemons-sock-dir
    - 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-jrnb9
      readOnly: true
  nodeName: instance
  nodeSelector:
    kubernetes.io/hostname: instance
  preemptionPolicy: PreemptLowerPriority
  priority: 0
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: rook-ceph-default
  serviceAccountName: rook-ceph-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/exporter
      type: DirectoryOrCreate
    name: ceph-daemons-sock-dir
  - 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-jrnb9
    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-02-27T23:55:42Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-02-27T23:55:43Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-02-27T23:55:43Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-02-27T23:55:40Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://1e2e70f333d383b1b6c4262f69173a82527af5a8e434e688934ff3dd53f51993
    image: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.7
    imageID: harbor.atmosphere.dev/quay.io/ceph/ceph@sha256:1b9158ce28975f95def6a0ad459fa19f1336506074267a4b47c1bd914a00fec0
    lastState: {}
    name: ceph-crash
    ready: true
    restartCount: 0
    started: true
    state:
      running:
        startedAt: "2026-02-27T23:55:42Z"
  hostIP: 162.253.55.52
  initContainerStatuses:
  - containerID: containerd://73df5793d2b5e8c1c5e955f32adcba102a9076571fdbf6c776980f7b1aef3d2a
    image: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.7
    imageID: harbor.atmosphere.dev/quay.io/ceph/ceph@sha256:1b9158ce28975f95def6a0ad459fa19f1336506074267a4b47c1bd914a00fec0
    lastState: {}
    name: make-container-crash-dir
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://73df5793d2b5e8c1c5e955f32adcba102a9076571fdbf6c776980f7b1aef3d2a
        exitCode: 0
        finishedAt: "2026-02-27T23:55:40Z"
        reason: Completed
        startedAt: "2026-02-27T23:55:40Z"
  - containerID: containerd://06ecbd0a2faf6a36276ad564e12f0cef80a22dc12b5e7cb90620d1a88b06381d
    image: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.7
    imageID: harbor.atmosphere.dev/quay.io/ceph/ceph@sha256:1b9158ce28975f95def6a0ad459fa19f1336506074267a4b47c1bd914a00fec0
    lastState: {}
    name: chown-container-data-dir
    ready: true
    restartCount: 0
    started: false
    state:
      terminated:
        containerID: containerd://06ecbd0a2faf6a36276ad564e12f0cef80a22dc12b5e7cb90620d1a88b06381d
        exitCode: 0
        finishedAt: "2026-02-27T23:55:41Z"
        reason: Completed
        startedAt: "2026-02-27T23:55:41Z"
  phase: Running
  podIP: 10.0.0.179
  podIPs:
  - ip: 10.0.0.179
  qosClass: Burstable
  startTime: "2026-02-27T23:55:40Z"
