惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 司徒正美
The GitHub Blog
The GitHub Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Apple Machine Learning Research
Apple Machine Learning Research
L
LangChain Blog
GbyAI
GbyAI
博客园_首页
V
Visual Studio Blog
Martin Fowler
Martin Fowler
WordPress大学
WordPress大学
H
Hackread – Cybersecurity News, Data Breaches, AI and More
博客园 - 叶小钗
腾讯CDC
博客园 - Franky
IT之家
IT之家
Google DeepMind News
Google DeepMind News
Microsoft Azure Blog
Microsoft Azure Blog
D
Docker
大猫的无限游戏
大猫的无限游戏
Recent Announcements
Recent Announcements
小众软件
小众软件
博客园 - 三生石上(FineUI控件)
B
Blog
酷 壳 – CoolShell
酷 壳 – CoolShell

OneUptime Blog

How to Monitor Azure App Services (PaaS) with OpenTelemetry Grafana Stack vs OneUptime: DIY Observability or Unified Platform? Your AI Workloads Are About to Blow Up Your Observability Bill The Great Observability Consolidation Is Here How to Write Custom Object Classes for Ceph How to Write Custom Ceph Manager Modules How to Write a ceph.conf Configuration File How to Use Rook-Ceph with OpenShift How to Use Rook-Ceph with Longhorn for Comparison How to Configure Volume Snapshot Class for RBD in Rook How to Configure VolumeReplicationClass Scheduling Intervals in Rook How to Set Up Volume Replication with Rook-Ceph How to Create Volume Group Snapshots with Rook CSI How to Visualize Ceph Network Performance in Grafana How to Enable Virtual Host-Style Bucket Access in Rook How to View Runtime Configuration via Admin Socket How to View Quota Settings and Update Stats in Ceph RGW How to View PG Scaling Recommendations with autoscale-status How to View PG Distribution via Admin Socket How to View Performance Metrics in the Ceph Dashboard How to View OSD Performance Counters in Ceph How to View Connection Status via Admin Socket How to View Ceph Cluster Summary Dashboard via CLI How to Version Control Rook-Ceph Configuration How to Version Control Ceph Infrastructure with Terraform How to Verify Kubernetes Node Requirements for Rook-Ceph Deployment How to Verify Health Before and After Rook Upgrades How to Verify Data Integrity with Deep Scrubbing How to Verify Complete Rook-Ceph Cleanup How to Verify Backup Integrity from Ceph Snapshots
How to Use Rook-Ceph with Helm Chart Deployments
Nawaz Dhandala · 2026-03-31 · via OneUptime Blog

Helm is the de facto package manager for Kubernetes. Rook provides official Helm charts that simplify deploying the operator and creating Ceph clusters. Understanding how to integrate Rook-Ceph with application Helm deployments makes storage provisioning a repeatable, version-controlled process.

Installing the Rook Operator with Helm

Add the Rook Helm repository and install the operator:

helm repo add rook-release https://charts.rook.io/release
helm repo update

# Install the Rook-Ceph operator
helm install --create-namespace \
  --namespace rook-ceph \
  rook-ceph rook-release/rook-ceph \
  --version v1.15.0

Verify the operator is running:

kubectl -n rook-ceph get pods -l app=rook-ceph-operator

Installing the Rook-Ceph Cluster with Helm

The cluster chart creates the CephCluster resource and associated components:

helm install --create-namespace \
  --namespace rook-ceph \
  rook-ceph-cluster rook-release/rook-ceph-cluster \
  --set operatorNamespace=rook-ceph

Customize the cluster values:

# values.yaml for rook-ceph-cluster
cephClusterSpec:
  dataDirHostPath: /var/lib/rook
  mon:
    count: 3
    allowMultiplePerNode: false
  storage:
    useAllNodes: true
    useAllDevices: true
  resources:
    mgr:
      requests:
        cpu: 500m
        memory: 512Mi

cephBlockPools:
  - name: replicapool
    spec:
      replicated:
        size: 3
    storageClass:
      enabled: true
      name: rook-ceph-block
      isDefault: true
      reclaimPolicy: Delete

cephObjectStores:
  - name: my-store
    spec:
      gateway:
        instances: 2
    storageClass:
      enabled: true
      name: rook-ceph-bucket

Install with the custom values:

helm install rook-ceph-cluster rook-release/rook-ceph-cluster \
  -f values.yaml \
  --namespace rook-ceph

Integrating Ceph Storage in Application Helm Charts

Reference the Rook-provisioned StorageClass in your application's Helm values:

# values.yaml for a database chart
persistence:
  enabled: true
  storageClass: rook-ceph-block
  size: 20Gi
  accessMode: ReadWriteOnce

For applications with Helm sub-charts:

# Parent chart values.yaml
postgresql:
  primary:
    persistence:
      storageClass: rook-ceph-block
      size: 50Gi

Upgrading Rook with Helm

Keep the operator up to date:

helm repo update

# Check for new versions
helm search repo rook-release/rook-ceph --versions | head -5

# Upgrade the operator
helm upgrade rook-ceph rook-release/rook-ceph \
  --namespace rook-ceph \
  --version v1.16.0

Storing Helm Values in GitOps

For reproducible deployments, store Helm values in git:

# Directory structure for GitOps
infrastructure/
  rook/
    operator-values.yaml
    cluster-values.yaml
    kustomization.yaml
# kustomization.yaml
helmCharts:
  - name: rook-ceph
    repo: https://charts.rook.io/release
    version: v1.15.0
    releaseName: rook-ceph
    namespace: rook-ceph
    valuesFile: operator-values.yaml

Summary

Rook provides official Helm charts for both the operator and the cluster, making installation and upgrades declarative and version-controlled. Application Helm charts integrate with Rook storage by referencing the StorageClass name in their persistence values. Storing Helm values in a GitOps repository ensures reproducible cluster configurations and simplifies disaster recovery procedures.