fluid icon indicating copy to clipboard operation
fluid copied to clipboard

[BUG] Does not support K3S

Open lay-g opened this issue 1 year ago • 4 comments

What is your environment(Kubernetes version, Fluid version, etc.) K3S: 1.29.4 Fluid: v1.0

Describe the bug DaemonSet csi-nodeplugin-fluid can't deploy on k3s.

image

What you expect to happen:

How to reproduce it helm install --namespace=fluid-system --create-namespace fluid fluid/fluid

Additional Information

lay-g avatar May 18 '24 02:05 lay-g

Thank you for finding it. I think it's a feature request. We didn't test it on K3s before. We will work on it to figure out how to run it in K3s.

cheyang avatar May 29 '24 03:05 cheyang

I will take a look at this.

baowj-678 avatar May 29 '24 03:05 baowj-678

The directory for storing the kube config files and certificate files in k3s is different from that in k8s. You can complete the installation by setting the kubeConfigFile and certDir in the values.yaml file.

csi:
  kubelet:
    kubeConfigFile: /etc/rancher/k3s/k3s.yaml
    certDir: /var/lib/rancher/k3s/agent

baowj-678 avatar Jun 19 '24 13:06 baowj-678

Sorry, I have not updated the latest situation. I tried copying the configuration file to /etc/kubernetes/kubelet.conf, and then it worked fine. Thanks for everyone's responses.

lay-g avatar Jun 23 '24 03:06 lay-g