apiVersion: v1
kind: Pod
metadata:
  creationTimestamp: "2026-03-31T18:29:43Z"
  generateName: ceph-csi-rbd-nodeplugin-
  labels:
    app: ceph-csi-rbd
    chart: ceph-csi-rbd-3.11.0
    component: nodeplugin
    controller-revision-hash: 5d9f45dd49
    heritage: Helm
    pod-template-generation: "1"
    release: ceph-csi-rbd
  name: ceph-csi-rbd-nodeplugin-wdbw2
  namespace: kube-system
  ownerReferences:
  - apiVersion: apps/v1
    blockOwnerDeletion: true
    controller: true
    kind: DaemonSet
    name: ceph-csi-rbd-nodeplugin
    uid: 243bb37c-e31d-476c-bcd5-fe3e8fb821b3
  resourceVersion: "1570"
  uid: efbd22c2-d679-40ea-aeea-ad1d5120ac1d
spec:
  affinity:
    nodeAffinity:
      requiredDuringSchedulingIgnoredDuringExecution:
        nodeSelectorTerms:
        - matchFields:
          - key: metadata.name
            operator: In
            values:
            - instance
  containers:
  - args:
    - --nodeid=$(NODE_ID)
    - --pluginpath=/var/lib/kubelet/plugins
    - --stagingpath=/var/lib/kubelet/plugins/kubernetes.io/csi/
    - --type=rbd
    - --nodeserver=true
    - --pidlimit=-1
    - --endpoint=$(CSI_ENDPOINT)
    - --csi-addons-endpoint=$(CSI_ADDONS_ENDPOINT)
    - --v=5
    - --drivername=$(DRIVER_NAME)
    - --enable-read-affinity=false
    env:
    - name: POD_IP
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: status.podIP
    - name: DRIVER_NAME
      value: rbd.csi.ceph.com
    - name: NODE_ID
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: spec.nodeName
    - name: CSI_ENDPOINT
      value: unix:///csi/csi.sock
    - name: CSI_ADDONS_ENDPOINT
      value: unix:///csi/csi-addons.sock
    image: harbor.atmosphere.dev/quay.io/cephcsi/cephcsi:v3.11.0
    imagePullPolicy: IfNotPresent
    name: csi-rbdplugin
    resources: {}
    securityContext:
      allowPrivilegeEscalation: true
      capabilities:
        add:
        - SYS_ADMIN
      privileged: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /csi
      name: socket-dir
    - mountPath: /dev
      name: host-dev
    - mountPath: /run/mount
      name: host-mount
    - mountPath: /sys
      name: host-sys
    - mountPath: /etc/selinux
      name: etc-selinux
      readOnly: true
    - mountPath: /lib/modules
      name: lib-modules
      readOnly: true
    - mountPath: /etc/ceph-csi-config/
      name: ceph-csi-config
    - mountPath: /etc/ceph/
      name: ceph-config
    - mountPath: /etc/ceph-csi-encryption-kms-config/
      name: ceph-csi-encryption-kms-config
    - mountPath: /var/lib/kubelet/plugins
      mountPropagation: Bidirectional
      name: plugin-dir
    - mountPath: /var/lib/kubelet/pods
      mountPropagation: Bidirectional
      name: mountpoint-dir
    - mountPath: /tmp/csi/keys
      name: keys-tmp-dir
    - mountPath: /var/log/ceph
      name: ceph-logdir
    - mountPath: /run/secrets/tokens
      name: oidc-token
      readOnly: true
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-9znsj
      readOnly: true
  - args:
    - --v=5
    - --csi-address=/csi/csi.sock
    - --kubelet-registration-path=/var/lib/kubelet/plugins/rbd.csi.ceph.com/csi.sock
    env:
    - name: KUBE_NODE_NAME
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: spec.nodeName
    image: harbor.atmosphere.dev/registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0
    imagePullPolicy: IfNotPresent
    name: driver-registrar
    resources: {}
    securityContext:
      allowPrivilegeEscalation: true
      privileged: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /csi
      name: socket-dir
    - mountPath: /registration
      name: registration-dir
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-9znsj
      readOnly: true
  - args:
    - --type=liveness
    - --endpoint=$(CSI_ENDPOINT)
    - --metricsport=8081
    - --metricspath=/metrics
    - --polltime=60s
    - --timeout=3s
    env:
    - name: CSI_ENDPOINT
      value: unix:///csi/csi.sock
    - name: POD_IP
      valueFrom:
        fieldRef:
          apiVersion: v1
          fieldPath: status.podIP
    image: harbor.atmosphere.dev/quay.io/cephcsi/cephcsi:v3.11.0
    imagePullPolicy: IfNotPresent
    name: liveness-prometheus
    ports:
    - containerPort: 8081
      hostPort: 8081
      name: metrics
      protocol: TCP
    resources: {}
    securityContext:
      allowPrivilegeEscalation: true
      privileged: true
    terminationMessagePath: /dev/termination-log
    terminationMessagePolicy: File
    volumeMounts:
    - mountPath: /csi
      name: socket-dir
    - mountPath: /var/run/secrets/kubernetes.io/serviceaccount
      name: kube-api-access-9znsj
      readOnly: true
  dnsPolicy: ClusterFirstWithHostNet
  enableServiceLinks: true
  hostNetwork: true
  hostPID: true
  nodeName: instance
  preemptionPolicy: PreemptLowerPriority
  priority: 2000001000
  priorityClassName: system-node-critical
  restartPolicy: Always
  schedulerName: default-scheduler
  securityContext: {}
  serviceAccount: ceph-csi-rbd-nodeplugin
  serviceAccountName: ceph-csi-rbd-nodeplugin
  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
  - effect: NoSchedule
    key: node.kubernetes.io/network-unavailable
    operator: Exists
  volumes:
  - hostPath:
      path: /var/lib/kubelet/plugins/rbd.csi.ceph.com
      type: DirectoryOrCreate
    name: socket-dir
  - hostPath:
      path: /var/lib/kubelet/plugins_registry
      type: Directory
    name: registration-dir
  - hostPath:
      path: /var/lib/kubelet/plugins
      type: Directory
    name: plugin-dir
  - hostPath:
      path: /var/lib/kubelet/pods
      type: DirectoryOrCreate
    name: mountpoint-dir
  - hostPath:
      path: /var/log/ceph
      type: DirectoryOrCreate
    name: ceph-logdir
  - hostPath:
      path: /dev
      type: ""
    name: host-dev
  - hostPath:
      path: /run/mount
      type: ""
    name: host-mount
  - hostPath:
      path: /sys
      type: ""
    name: host-sys
  - hostPath:
      path: /etc/selinux
      type: ""
    name: etc-selinux
  - hostPath:
      path: /lib/modules
      type: ""
    name: lib-modules
  - configMap:
      defaultMode: 420
      name: ceph-config
    name: ceph-config
  - configMap:
      defaultMode: 420
      name: ceph-csi-config
    name: ceph-csi-config
  - configMap:
      defaultMode: 420
      name: ceph-csi-encryption-kms-config
    name: ceph-csi-encryption-kms-config
  - emptyDir:
      medium: Memory
    name: keys-tmp-dir
  - name: oidc-token
    projected:
      defaultMode: 420
      sources:
      - serviceAccountToken:
          audience: ceph-csi-kms
          expirationSeconds: 3600
          path: oidc-token
  - name: kube-api-access-9znsj
    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-31T18:29:43Z"
    status: "True"
    type: Initialized
  - lastProbeTime: null
    lastTransitionTime: "2026-03-31T18:32:30Z"
    status: "True"
    type: Ready
  - lastProbeTime: null
    lastTransitionTime: "2026-03-31T18:32:30Z"
    status: "True"
    type: ContainersReady
  - lastProbeTime: null
    lastTransitionTime: "2026-03-31T18:29:43Z"
    status: "True"
    type: PodScheduled
  containerStatuses:
  - containerID: containerd://6cf72770c7731f719e5018480412b937ed0f507217fbb13287b38cf3703941ac
    image: harbor.atmosphere.dev/quay.io/cephcsi/cephcsi:v3.11.0
    imageID: harbor.atmosphere.dev/quay.io/cephcsi/cephcsi@sha256:a338c0dec57b8033e01f277dc342607d7610411422cc3ce47f176ab059aeaf21
    lastState:
      terminated:
        containerID: containerd://3495ca50d177e474f0ef2813cfe02d6661a2cd5bfe5f8d34aae875d18a7366e8
        exitCode: 255
        finishedAt: "2026-03-31T18:31:57Z"
        reason: Error
        startedAt: "2026-03-31T18:31:57Z"
    name: csi-rbdplugin
    ready: true
    restartCount: 3
    started: true
    state:
      running:
        startedAt: "2026-03-31T18:32:29Z"
  - containerID: containerd://95aabb7b30db112384559d2cbfd3ae1da339fa99cd20eef8c5982be3308a6a72
    image: harbor.atmosphere.dev/registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.10.0
    imageID: harbor.atmosphere.dev/registry.k8s.io/sig-storage/csi-node-driver-registrar@sha256:c53535af8a7f7e3164609838c4b191b42b2d81238d75c1b2a2b582ada62a9780
    lastState:
      terminated:
        containerID: containerd://b0ecfaffbd4408ce18cbbeefa1680d945c1b7ec9162085be336eac05a526767a
        exitCode: 1
        finishedAt: "2026-03-31T18:32:08Z"
        reason: Error
        startedAt: "2026-03-31T18:31:38Z"
    name: driver-registrar
    ready: true
    restartCount: 1
    started: true
    state:
      running:
        startedAt: "2026-03-31T18:32:08Z"
  - containerID: containerd://fdada3f37f7714b494a18fe7503c613efa9cda472fdddd71125a165084c9a9c6
    image: harbor.atmosphere.dev/quay.io/cephcsi/cephcsi:v3.11.0
    imageID: harbor.atmosphere.dev/quay.io/cephcsi/cephcsi@sha256:a338c0dec57b8033e01f277dc342607d7610411422cc3ce47f176ab059aeaf21
    lastState:
      terminated:
        containerID: containerd://1525e86299979ce3a6ca92b6867012a2c1f02a62db1f78ddfe813f28debd94b4
        exitCode: 255
        finishedAt: "2026-03-31T18:32:12Z"
        reason: Error
        startedAt: "2026-03-31T18:31:42Z"
    name: liveness-prometheus
    ready: true
    restartCount: 1
    started: true
    state:
      running:
        startedAt: "2026-03-31T18:32:14Z"
  hostIP: 199.19.213.202
  phase: Running
  podIP: 199.19.213.202
  podIPs:
  - ip: 199.19.213.202
  qosClass: BestEffort
  startTime: "2026-03-31T18:29:43Z"
