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而服务的云原生存储

img

Rook存储类型

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

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

Rook特性剖析

img

  • 简单和可靠的自动化资源管理
  • 超融合存储集群
  • 高效数据分布和复制
  • 提供块、文件、对象存储
  • 管理多种开源存储解决方案
  • 易于提供数据中心弹性存储
  • 基于Apache 2.0开源
  • 已对通用硬件优化

Rookk8s结合

img

  • rook负责初始化和管理Ceph集群

    • monitor集群
    • mgr集群
    • osd集群
    • pool管理
    • 对象存储
    • 文件存储
    • 监视和维护集群健康状态
  • rook负责提供访问存储所需的驱动

    • Flex驱动(旧驱动,不建议使用)
    • CSI驱动
    • RBD块存储
    • CephFS文件存储
    • S3/Swift⻛格对象存储

Rook架构解析

img

  • 所有对象依托于kubernetes集群

    • mon
    • rgw
    • mds
    • mgr
    • osd
    • Agent
      • csi-rbdplugin
      • csi-cephfsplugi
  • 抽象化管理,隐藏细节

    • pool
    • volumes
    • filesystems
    • buckets
posted @ 2022-12-01 15:08  evescn  阅读(225)  评论(0编辑  收藏  举报