cubefs-csi icon indicating copy to clipboard operation
cubefs-csi copied to clipboard

could you update this plugin a little bit, it not working on the latest k8s

Open Jimmy2099 opened this issue 9 months ago • 3 comments

Prerequisite

Kubernetes 1.16.0 CSI spec version 1.1.0

is really old tested version

Jimmy2099 avatar Apr 30 '24 15:04 Jimmy2099

so what happened when plugin running? give some informations or give a screenshot would be better @Bmixo

heymingwei avatar May 06 '24 01:05 heymingwei

@heymingwei i use the following command to install CSI plugin into my k8s system, and my k8s version is v1.26.4 (k3S), and you can check the image below, the problem is the storage class did not work as except, yes i mean although i can create the storage class from the yaml file you provide in this project README file,but it just unable to mount the exist cubefs server in to container. I thinks is issue is relate to the Provisioner list did not show this plugin.

$ kubectl apply -f deploy/csi-rbac.yaml
$ kubectl apply -f deploy/csi-controller-deployment.yaml
$ kubectl apply -f deploy/csi-node-daemonset.yaml

image image

Jimmy2099 avatar May 07 '24 05:05 Jimmy2099

maybe you need to create the csidriver resource, the yaml content is

apiVersion: storage.k8s.io/v1
kind: CSIDriver
metadata:
  name: csi.cubefs.com
spec:
  attachRequired: false
  podInfoOnMount: true

maybe you can find the provisioner after this step @Bmixo

heymingwei avatar May 09 '24 03:05 heymingwei

1.when the cluster unable to create volume thought client-cli, this plugin still able to mount and create volume and use local-path i think this is an un-acceptable bug

2.when cluster is available this plugin is working

image

@heymingwei

Jimmy2099 avatar May 11 '24 04:05 Jimmy2099

cfs-client is working but cubefs-csi is not working as except. for now,I think the best way to use cubefs is to use cubefs-csi manual mount cubefs volume when container in start stage.

image image image

Jimmy2099 avatar May 13 '24 21:05 Jimmy2099

close,i make a CSI plugin by myself.

Jimmy2099 avatar May 14 '24 00:05 Jimmy2099