fluid-cloudnative / fluid

Fluid, elastic data abstraction and acceleration for BigData/AI applications in cloud. (Project under CNCF)
https://fluid-cloudnative.github.io/
Apache License 2.0
1.58k stars 949 forks source link

[BUG] Does not support K3S #4104

Open lay-g opened 1 month ago

lay-g commented 1 month ago

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

cheyang commented 1 month ago

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.

baowj-678 commented 1 month ago

I will take a look at this.

baowj-678 commented 2 weeks ago

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
lay-g commented 2 weeks ago

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.