stackhpc / slurm-k8s-cluster

A Slurm cluster for Kubernetes
MIT License
36 stars 12 forks source link

rook-nfs: volume needs to be created, either by external provisioner "nfs.rook.io/rook-nfs-provisioner" or manually created by system administrator #37

Open Wosch96 opened 7 months ago

Wosch96 commented 7 months ago

Hello guys,

I would like to use this project to setup a simple slurm cluster and add this to my k3d cluster. I have a problem with rook-nfs. Can someone help me out? I'm new to the topic of kubernetes.

kubectl describe pvc returns this:

image

Due to this problem, the pods of the rook-nfs-0 are stuck in the status 'Pending'.

image

I already realised that rook-nfs is not actively maintained anymore, but I thought this should still work. The rook-nfs-provisioner should create a volume itself, correct? Any ideas?

I did not make any changes to the project as of now.

Appreciate your help, thanks

saksham36 commented 6 months ago

One thing I did was was to remove the dependency of rooknfs in the Chart.yaml.

I'm using a NFS external provisioner (https://kubernetes-sigs.github.io/nfs-subdir-external-provisioner/) and basically replaced the rook-nfs storageClassName with: nfs-client