tencent cloud



Last updated: 2021-11-18 12:47:30

    Installation and Use Process

    1. Create a namespace

    $ kubectl create ns fluid-system

    2. Download Fluid

    Download the fluid-0.6.0.tgz installation package.


    You can also go to the Fluid official website Fluid Releases to download the latest version. However, certain machines may have problems accessing the website from inside China.

    3. Install Fluid with Helm

    $ helm install --set runtime.goosefs.enabled=true fluid fluid-0.6.0.tgz

    4. Check the running status of Fluid

    $ kubectl get pod -n fluid-system
    NAME                                         READY   STATUS    RESTARTS   AGE
    csi-nodeplugin-fluid-2mfcr                   2/2     Running   0          108s
    csi-nodeplugin-fluid-l7lv6                   2/2     Running   0          108s
    dataset-controller-5465c4bbf9-5ds5p          1/1     Running   0          108s
    goosefsruntime-controller-654fb74447-cldsv     1/1     Running   0          108s

    The number of csi-nodeplugin-fluid-xx must be the same as the number of nodes in the Kubernetes cluster.

    Now, Fluid is successfully installed. If you want to customize an image and upgrade the system CRD, see the following instructions (optional).

    5. Customize an image

    Decompress fluid-0.6.0.tgz and modify the default values.yaml file:

     mountRoot: /runtime-mnt
       runtimeWorkers: 3
       portRange: 26000-32000
       enabled: false
         image: fluidcloudnative/init-users:v0.6.0-116a5be
         image: fluidcloudnative/goosefsruntime-controller:v0.6.0-116a5be
         image: ccr.ccs.tencentyun.com/goosefs/goosefs:v1.0.1
         image: ccr.ccs.tencentyun.com/goosefs/goosefs-fuse:v1.0.1

    You can modify the default image content related to GooseFS. For example, you can change the location of the image to your own repository. After modification, run helm package fluid again for packaging and run the following command to update the Fluid version:

    helm upgrade --install fluid fluid-0.6.0.tgz

    6. Update the CRD

    $ kubectl get crd      
    NAME                                             CREATED AT
    databackups.data.fluid.io                        2021-03-02T13:12:31Z
    dataloads.data.fluid.io                          2021-04-14T11:14:58Z
    datasets.data.fluid.io                           2021-03-02T13:12:31Z
    goosefsruntimes.data.fluid.io                    2021-04-13T13:31:38Z

    The following shows how to update the existing GooseFSRuntime CRD in the system.

    First, delete the existing CRD:

    kubectl delete crd goosefsruntimes.data.fluid.io

    Then, decompress fluid-0.6.0.tgz:

    $ ls -l fluid/
    total 32
    total 32
    -rw-r--r--  1 xieydd  staff   489  5 15 16:14 CHANGELOG.md
    -rw-r--r--  1 xieydd  staff  1061  7 22 00:08 Chart.yaml
    -rw-r--r--  1 xieydd  staff  2560  5 15 16:14 VERSION
    drwxr-xr-x  8 xieydd  staff   256  7 20 15:06 crds
    drwxr-xr-x  7 xieydd  staff   224  5 24 14:18 templates
    -rw-r--r--  1 xieydd  staff  1665  7 22 00:08 values.yaml

    Finally, create a new CRD:

    kubectl apply -f crds/data.fluid.io_goosefsruntimes.yaml
    Contact Us

    Contact our sales team or business advisors to help your business.

    Technical Support

    Open a ticket if you're looking for further assistance. Our Ticket is 7x24 avaliable.

    7x24 Phone Support