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