Skip to content

Instantly share code, notes, and snippets.

@Gentoli
Created August 9, 2025 23:23
Show Gist options
  • Select an option

  • Save Gentoli/a2fe281a84d5f8fcbb9ff5e591e399e2 to your computer and use it in GitHub Desktop.

Select an option

Save Gentoli/a2fe281a84d5f8fcbb9ff5e591e399e2 to your computer and use it in GitHub Desktop.
Rook + Ceph CSI Operator

Rook + Ceph CSI Operator

invalid value specified for ceph.dir.subvolume when creating volume

  • workaournd remove the subvolumeGroup key in config.json from the ceph-csi-config ConfigMap

not able to attach volume

  • set mon connection version: add ms_mode: prefer-secure
  • set right port for connection (3300)
apiVersion: csi.ceph.io/v1alpha1
kind: ClientProfile
...
spec:
  cephConnectionRef:
    name: rook-ceph
  cephFs:
    kernelMountOptions:
      ms_mode: prefer-secure
apiVersion: csi.ceph.io/v1alpha1
kind: CephConnection
...
spec:
  monitors:
    - 'xxx:3300'
...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment