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.
Recommended methods
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
開源 - 已對通用硬體優化
Rook
與k8s
結合
-
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