1. 程式人生 > 其它 >02 Rook 簡介(轉載)

02 Rook 簡介(轉載)

目錄

Rook 簡介

Ceph部署方法

Ceph常⻅的部署方法有3種

  • ceph-deploy
  • cephadm
  • 手工部署
  • Rook
  • ceph-ansible

Installing Ceph

There are several different ways to install Ceph. Choose the
method that best suits your needs.

Cephadm installs and manages a Ceph cluster using containers and
systemd, with tight integration with the CLI and dashboard GUI.

  • cephadm only supports Octopus and newer releases.
  • cephadm is fully integrated with the new orchestration API and
    fully supports the new CLI and dashboard features to manage
    cluster deployment.
  • cephadm requires container support (podman or docker) and
    Python 3.

Rook deploys and manages Ceph clusters running
in Kubernetes, while also enabling management of storage resources and
provisioning via Kubernetes APIs. We recommend Rook as the way to run Ceph in
Kubernetes or to connect an existing Ceph storage cluster to Kubernetes.

  • Rook only supports Nautilus and newer releases of Ceph.
  • Rook is the preferred method for running Ceph on Kubernetes, or for
    connecting a Kubernetes cluster to an existing (external) Ceph
    cluster.
  • Rook supports the new orchestrator API. New management features
    in the CLI an dashboard are fully supported.
Other methods

ceph-ansible deploys and manages
Ceph clusters using Ansible.

  • ceph-ansible is widely deployed.
  • ceph-ansible is not integrated with the new orchestrator APIs,
    introduced in Nautlius and Octopus, which means that newer
    management features and dashboard integration are not available.

ceph-deploy is a tool for quickly deploying clusters.

什麼是Rook

Open-Source, Cloud-Native Storage for Kubernetes,

Rook turns distributed storage systems into self-managing, self-scaling, self-healing storage services. It automates the tasks of a storage administrator: deployment, bootstrapping, configuration, provisioning, scaling, upgrading, migration, disaster recovery, monitoring, and resource management.

定位:開源,為kubernetes而服務的雲原生儲存

Rook儲存型別

Rook orchestrates the Ceph storage solution, with a specialized Kubernetes Operator to automate management.

  • Ceph
  • NFS
  • Cassandra
  • CockroachDB
  • Yugabyte DB
  • EdgeFS

Rook特性剖析

  • 簡單和可靠的自動化資源管理
  • 超融合儲存叢集
  • 高效資料分佈和複製
  • 提供塊、檔案、物件儲存
  • 管理多種開源儲存解決方案
  • 易於提供資料中心彈性儲存
  • 基於Apache 2.0開源
  • 已對通用硬體優化

Rookk8s結合

  • rook負責初始化和管理Ceph叢集

    • monitor叢集
    • mgr叢集
    • osd叢集
    • pool管理
    • 物件儲存
    • 檔案儲存
    • 監視和維護叢集健康狀態
  • rook負責提供訪問儲存所需的驅動

    • Flex驅動(舊驅動,不建議使用)
    • CSI驅動
    • RBD塊儲存
    • CephFS檔案儲存
    • S3/Swift⻛格物件儲存

Rook架構解析

  • 所有物件依託於kubernetes叢集

    • mon
    • rgw
    • mds
    • mgr
    • osd
    • Agent
      • csi-rbdplugin
      • csi-cephfsplugi
  • 抽象化管理,隱藏細節

    • pool
    • volumes
    • filesystems
    • buckets