rook-ceph-cluster

by mkhpalm

Helm chartv1.5.1App v1.5.13Verified publisher

A Helm chart for rook ceph cluster CRD

About this chart

Rook CephCluster CRD Helm Chart

Rook allows creation and customization of storage clusters through the custom resource definitions (CRDs). This is a companion chart to Ceph Operator Helm Chart

  • Ceph Operator Helm: https://rook.io/docs/rook/v1.5/helm-operator.html
  • CephCluster CRD: https://rook.io/docs/rook/v1.5/ceph-cluster-crd.html

Prerequisites

Install rook-ceph-operator and add this repo to your helm repositories

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

What this chart does is manifests the cluster custom resource and adds a few things:

  • RBAC to run CR in different namespaces than rook operator
  • Ability to run multiple clusters from a single operator
  • Ingress options for ceph manager
  • Prometheus operator support to monitor metrics
  • Alertmanager rules for ceph
  • etc

Configuration Options

You can define all configurations using spec just like the standalone CephCluster custom resource. If you are using multiple namespaces make sure to define operator.namespace so this chart knows how to map roles for rook-ceph-operator to access it.

Values

KeyTypeDefaultDescription
ingress.annotationsobject{}
ingress.enabledboolfalse
ingress.hosts[0]string"chart-example.local"
ingress.pathstring"/"
ingress.tlslist[]
operator.namespacestring"rook-ceph"
serviceMonitor.enabledboolfalse
serviceMonitor.intervalstring""
serviceMonitor.metricRelabelingslist[]
serviceMonitor.relabelingslist[]
spec.cephVersion.imagestring"ceph/ceph:v15.2.13"
spec.dataDirHostPathstring"/var/lib/rook"
spec.mon.allowMultiplePerNodeboolfalse
spec.mon.countint3
spec.storage.useAllDevicesbooltrue
spec.storage.useAllNodesbooltrue

Deploy rook-ceph-cluster with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has rook-ceph-cluster on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartrook-ceph-cluster is pinned at v1.5.1 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply