当前位置:网站首页>云原生(三十二) | Kubernetes篇之平台存储系统介绍
云原生(三十二) | Kubernetes篇之平台存储系统介绍
2022-08-05 02:31:00 【Lanson】
Kubernetes平台存储系统介绍
存储系统是个专业性的整个体系,我们只用常见方式搭建,具体优化需要参照公司自己的产品等各种进行调整
一、Ceph
官方网址:https://ceph.io/
1、基本概念
Ceph可以有
Ceph对象存储:键值存储,其接口就是简单的GET,PUT,DEL等。如七牛,阿里云oss等
Ceph块设备:AWS的EBS,青云的云硬盘和阿里云的盘古系统,还有Ceph的RBD(RBD是Ceph面向块存储的接口)
Ceph文件系统:它比块存储具有更丰富的接口,需要考虑目录、文件属性等支持,实现一个支持并行化的文件存储应该是最困难的。
一个Ceph存储集群需要
至少一个Ceph监视器、Ceph管理器、Ceph OSD(对象存储守护程序)
需要运行Ceph文件系统客户端,则需要部署 Ceph Metadata Server。

Monitors: Ceph Monitor (
ceph-mon
) 监视器:维护集群状态信息维护集群状态的映射,包括监视器映射,管理器映射,OSD映射,MDS映射和CRUSH映射。
这些映射是Ceph守护程序相互协调所必需的关键群集状态。
监视器还负责管理守护程序和客户端之间的身份验证。
通常至少需要三个监视器才能实现冗余和高可用性。
Managers: Ceph Manager 守护进程(
ceph-mgr
) : 负责跟踪运行时指标和Ceph集群的当前状态Ceph Manager守护进程(ceph-mgr)负责跟踪运行时指标和Ceph集群的当前状态
包括存储利用率,当前性能指标和系统负载。
Ceph Manager守护程序还托管基于python的模块,以管理和公开Ceph集群信息,包括基于Web的Ceph Dashboard和REST API。
通常,至少需要两个管理器才能实现高可用性。
Ceph OSDs: Ceph OSD (对象存储守护进程,
ceph-osd
) 【存储数据】通过检查其他Ceph OSD守护程序的心跳来存储数据,处理数据复制,恢复,重新平衡,并向Ceph监视器和管理器提供一些监视信息。
通常至少需要3个Ceph OSD才能实现冗余和高可用性。
MDSs: Ceph Metadata Server (MDS,
ceph-mds
ceph元数据服务器)存储能代表 Ceph File System 的元数据(如:Ceph块设备和Ceph对象存储不使用MDS).
Ceph元数据服务器允许POSIX文件系统用户执行基本命令(如ls,find等),而不会给Ceph存储集群带来巨大负担
二、Rook
1、基本概念
Rook是云原生平台的存储编排工具
Rook工作原理如下:

Rook架构如下

RGW:为Restapi Gateway
2、operator是什么
k8s中operator+CRD(CustomResourceDefinitions【k8s自定义资源类型】),可以快速帮我们部署一些有状态应用集群,如redis,mysql,Zookeeper等。
Rook的operator是我们k8s集群和存储集群之间进行交互的解析器
CRD:CustomResourceDefinitions (自定义资源);如:Itdachang
operator:这个能处理自定义资源类型
边栏推荐
- Industry case | insurance companies of the world's top 500 construction standards can be used to drive the business analysis system
- 甘特图来啦,项目管理神器,模板直接用
- 回顾51单片机
- js中try...catch和finally的用法
- Flink 1.15.1 集群搭建(StandaloneSession)
- "Configuration" is a double-edged sword, it will take you to understand various configuration methods
- 解决connect: The requested address is not valid in its context
- PHP Skills Assessment
- LeetCode uses the minimum cost to climb the stairs----dp problem
- Error: Not a signal or slot declaration
猜你喜欢
nodeJs--encapsulate routing
[LeetCode Brush Questions] - Sum of Numbers topic (more topics to be added)
Programmer's list of sheep counting when insomnia | Daily anecdote
iNFTnews | What can NFTs bring to the sports industry and fans?
剑指offer专项突击版第20天
SuperMap iDesktop.Net之布尔运算求交——修复含拓扑错误复杂模型
DAY23: Command Execution & Code Execution Vulnerability
leetcode 15
C language diary 9 3 kinds of statements of if
js中try...catch和finally的用法
随机推荐
Programmer's list of sheep counting when insomnia | Daily anecdote
多线程(2)
基于OpenVINO工具套件简单实现YOLOv7预训练模型的部署
[LeetCode Brush Questions] - Sum of Numbers topic (more topics to be added)
Access Characteristics of Constructor under Inheritance Relationship
leetcode-对称二叉树
解决connect: The requested address is not valid in its context
Live preview | 30 minutes started quickly!Look at credible distributed AI chain oar architectural design
CPDA|运营人如何从负基础学会数据分析(SQL)
shell语句修改txt文件或者sh文件
"Configuration" is a double-edged sword, it will take you to understand various configuration methods
01 【前言 基础使用 核心概念】
The 2022 EdgeX China Challenge will be grandly opened on August 3
[C language] Detailed explanation of stacks and queues (define, destroy, and data operations)
注意潍坊开具发票一般需要注意
Common hardware delays
从零到一快速学会三子棋
[ROS] (10) ROS Communication - Service Communication
剑指offer专项突击版第20天
如何模拟后台API调用场景,很细!