chubaofs/chubaofs

Chart version: 1.5.1
Api version: v1
App version: 1.5.1
A Helm chart for ChubaoFS
application
Chart Type
Active
Status
Unknown
License
273
Downloads
https://chubaofs.github.io/chubaofs-charts
Set me up:
helm repo add center https://repo.chartcenter.io
Install Chart:
helm install chubaofs center/chubaofs/chubaofs
Versions (0)

ChubaoFS Helm Chart

Introduction

ChubaoFS is a distributed file system for cloud native applications. This chart deploy ChubaoFS on a Kubernetes cluster using Helm. It supports Helm v2 and Helm v3.

Prerequisite

Add ChubaoFS Helm Chart repository

$ helm repo add chubaofs https://chubaofs.github.io/chubaofs-charts
$ helm repo update

Create configuration yaml file

Create chubaofs.yaml, an put it in a user-defined path. Suppose this is where we put it.

$ cat ~/chubaofs.yaml
path:
  data: /chubaofs/data
  log: /chubaofs/log

datanode:
  disks:
    - disk: "/data0:21474836480"
    - disk: "/data1:21474836480"
      
metanode:
  total_mem: "2147483648"

Note that chubaofs-helm/chubaofs/values.yaml shows all the config parameters of ChubaoFS. The parameters path.data and path.log are used to store server data and logs, respectively.

Add labels to Kubernetes node

There are 3 roles for ChubaoFS servers, master/metanode/datanode. Tag each Kubernetes node with the appropriate labels accorindly.

kubectl label node <nodename> chuabaofs-master=enabled
kubectl label node <nodename> chuabaofs-metanode=enabled
kubectl label node <nodename> chuabaofs-datanode=enabled

Deploy ChubaoFS cluster

$ helm install chubaofs chubaofs/chubaofs --version 1.5.0 -f ~/chubaofs.yaml

Delete ChubaoFS cluster

$ helm delete chubaofs

Config Monitoring System (optional)

The configuration detail refer to README.md