Skip to content
This repository has been archived by the owner on Nov 28, 2023. It is now read-only.

Latest commit

 

History

History
73 lines (53 loc) · 1.39 KB

README.md

File metadata and controls

73 lines (53 loc) · 1.39 KB

Name

curve-helm - Helps deploy Curve cluster orchestrated by Kubernetes.

Status

This library is not yet production ready.

Table of Contents

Requirement

item version
kubernetes v1.22.*
helm v3.*

Back to TOC

Quick Start

Step1: Prepare topology configure

$ vi topology.yaml
global:
  image: opencurvedocker/curvefs:beta

etcd:
  enabled: true
  replicas: 3

mds:
  enabled: true
  replicas: 3

metaserver:
  enabled: true
  replicas: 3
  logDir: /mnt/logs
  dataDir: /mnt/data
  config:
    metaserver.loglevel: 0

Step2: Add labels to Kubernetes node

$ kubectl label node <nodename> curvefs-etcd=true 
$ kubectl label node <nodename> curvefs-mds=true 
$ kubectl label node <nodename> curvefs-metaserver=true 

Step3: Deploy cluster by helm

$ helm upgrade --install curvefs-release ./curvefs -f topology.yaml -n curvefs --create-namespace

Back to TOC