apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-06-10T07:53:57Z"
  generateName: ceph-exporter-
  labels:
    application: ceph-exporter
    controller-revision-hash: 5b4cfd8477
    pod-template-generation: "1"
  name: ceph-exporter-q9tw9
  namespace: monitoring
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: ceph-exporter
    uid: 1cfe5934-d9f2-46d8-a724-d6066876771d
  resourceVersion: "3596"
  uid: e7d0ad5a-51ae-4a43-962e-dd24afb4bf77
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchFields:
          - key: metadata.name
            operator: In
            values:
            - instance
  containers:
  - args:
    - -n
    - client.admin
    - -d
    - --sock-dir=/var/run/ceph
    - --addrs=0.0.0.0
    - --port=9926
    - --prio-limit=5
    - --stats-period=5
    command:
    - /usr/bin/ceph-exporter
    image: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.7
    imagePullPolicy: IfNotPresent
    livenessProbe:
      failureThreshold: 3
      httpGet:
        path: /metrics
        port: metrics
        scheme: HTTP
      periodSeconds: 30
      successThreshold: 1
      timeoutSeconds: 5
    name: ceph-exporter
    ports:
    - containerPort: 9926
      name: metrics
      protocol: TCP
    readinessProbe:
      failureThreshold: 3
      httpGet:
        path: /metrics
        port: metrics
        scheme: HTTP
      periodSeconds: 10
      successThreshold: 1
      timeoutSeconds: 5
    resources:
      limits:
        memory: 512Mi
      requests:
        cpu: 100m
        memory: 128Mi
    securityContext:
      runAsGroup: 0
      runAsUser: 0
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /etc/ceph
      name: ceph-config
      readOnly: true
    - mountPath: /var/run/ceph
      name: ceph-sockets
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-7d6t2
      readOnly: true
  dnsPolicy: ClusterFirst
  enableServiceLinks: true
  nodeName: instance
  nodeSelector:
    ceph: enabled
  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
  - effect: NoExecute
    key: node.kubernetes.io/unreachable
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/disk-pressure
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/memory-pressure
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/pid-pressure
    operator: Exists
  - effect: NoSchedule
    key: node.kubernetes.io/unschedulable
    operator: Exists
  volumes:
  - hostPath:
      path: /etc/ceph
      type: Directory
    name: ceph-config
  - hostPath:
      path: /var/run/ceph/4837cbf8-4f90-4300-b3f6-726c9b9f89b4
      type: Directory
    name: ceph-sockets
  - name: kube-api-access-7d6t2
    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-06-10T07:53:57Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-06-10T07:53:57Z"
    message: 'containers with unready status: [ceph-exporter]'
    reason: ContainersNotReady
    status: "False"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-06-10T07:53:57Z"
    message: 'containers with unready status: [ceph-exporter]'
    reason: ContainersNotReady
    status: "False"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-06-10T07:53:57Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - image: harbor.atmosphere.dev/quay.io/ceph/ceph:v18.2.7
    imageID: ""
    lastState: {}
    name: ceph-exporter
    ready: false
    restartCount: 0
    started: false
    state:
      waiting:
        reason: ContainerCreating
  hostIP: 199.204.45.205
  phase: Pending
  qosClass: Burstable
  startTime: "2026-06-10T07:53:57Z"
