当前位置:网站首页>Cloud native (32) | kubernetes introduction to platform storage system
Cloud native (32) | kubernetes introduction to platform storage system
2022-07-06 23:12:00 【Lansonli】
List of articles
Kubernetes Introduction to platform storage system
Kubernetes Introduction to platform storage system
The storage system is a professional whole system , We only use common methods to build , The specific optimization needs to be adjusted with reference to the company's own products
One 、Ceph
Official website :https://ceph.io/
1、 Basic concepts
Ceph There can be
Ceph Object storage : Key value storage , The interface is simple GET,PUT,DEL etc. . Such as seven cattle , Alibaba cloud oss etc.
Ceph Block device :AWS Of EBS, Qingyun's cloud disk drive and Alibaba cloud's Pangu system , also Ceph Of RBD(RBD yes Ceph Block storage oriented interface )
Ceph file system : It has richer interfaces than block storage , Need to consider the directory 、 File attributes, etc , Implementing a file store that supports parallelization should be the most difficult .
One Ceph The storage cluster needs
At least one Ceph The monitor 、Ceph Manager 、Ceph OSD( Object storage daemons )
Need to run Ceph File system client , You need to deploy Ceph Metadata Server.
Monitors: Ceph Monitor (
ceph-mon
) The monitor : Maintain cluster state informationMaintain the mapping of cluster state , Including monitor mapping , Manager mapping ,OSD mapping ,MDS Mapping and CRUSH mapping .
These mappings are Ceph Critical cluster state necessary for daemons to coordinate with each other .
The monitor is also responsible for managing authentication between the daemon and the client .
Typically, at least three monitors are required to achieve redundancy and high availability .
Managers: Ceph Manager Daemon (
ceph-mgr
) : Responsible for tracking runtime metrics and Ceph The current state of the clusterCeph Manager Daemon (ceph-mgr) Responsible for tracking runtime metrics and Ceph The current state of the cluster
Including storage utilization , Current performance indicators and system load .
Ceph Manager Daemons also host based on python Module , To manage and disclose Ceph Cluster information , Including based on Web Of Ceph Dashboard and REST API.
Usually , At least two managers are required to achieve high availability .
Ceph OSDs: Ceph OSD ( Object storage daemons ,
ceph-osd
) 【 Store the data 】By checking other Ceph OSD The daemon's heartbeat to store data , Dealing with data replication , recovery , Rebalance , And to Ceph Monitors and managers provide some monitoring information .
Usually at least 3 individual Ceph OSD To achieve redundancy and high availability .
MDSs: Ceph Metadata Server (MDS,
ceph-mds
ceph metadata server )Storage can represent Ceph File System Metadata ( Such as :Ceph Block device and Ceph Object storage is not used MDS).
Ceph The metadata server allows POSIX File system users execute basic commands ( Such as ls,find etc. ), Not to Ceph Storage clusters are a huge burden
Two 、Rook
1、 Basic concepts
Rook It is a storage orchestration tool for cloud native platforms
Rook Here's how it works :
Rook The structure is as follows
RGW: by Restapi Gateway
2、operator What is it?
k8s in operator+CRD(CustomResourceDefinitions【k8s Custom resource type 】), It can quickly help us deploy some stateful application clusters , Such as redis,mysql,Zookeeper etc. .
Rook Of operator It is our k8s A parser that interacts between a cluster and a storage cluster
CRD:CustomResourceDefinitions ( Custom resources ); Such as :Itdachang
operator: This can handle custom resource types
- Blog home page :https://lansonli.blog.csdn.net
- Welcome to thumb up Collection Leaving a message. Please correct any mistakes !
- This paper is written by Lansonli original , First appeared in CSDN Blog
- When you stop to rest, don't forget that others are still running , I hope you will seize the time to learn , Go all out for a better life
边栏推荐
- Mysql 身份认证绕过漏洞(CVE-2012-2122)
- 【Unity】升级版·Excel数据解析,自动创建对应C#类,自动创建ScriptableObject生成类,自动序列化Asset文件
- Matlab tips (27) grey prediction
- 同构+跨端,懂得小程序+kbone+finclip就够了!
- (flutter2) as import old project error: inheritfromwidgetofexacttype
- Case recommendation: An Qing works with partners to ensure that the "smart court" is more efficient
- Efficient ETL Testing
- Financial professionals must read book series 6: equity investment (based on the outline and framework of the CFA exam)
- Introduction to network basics
- QT signal and slot
猜你喜欢
Case recommendation: An Qing works with partners to ensure that the "smart court" is more efficient
Traversal of a tree in first order, middle order, and then order
使用MitmProxy离线缓存360度全景网页
同构+跨端,懂得小程序+kbone+finclip就够了!
Children's pajamas (Australia) as/nzs 1249:2014 handling process
DR-Net: dual-rotation network with feature map enhancement for medical image segmentation
Method of canceling automatic watermarking of uploaded pictures by CSDN
MySQL authentication bypass vulnerability (cve-2012-2122)
(shuttle) navigation return interception: willpopscope
docker中mysql开启日志的实现步骤
随机推荐
Project duplicate template
Efficient ETL Testing
安全保护能力是什么意思?等保不同级别保护能力分别是怎样?
面试题:AOF重写机制,redis面试必问!!!
Bipartite graph determination
docker mysql5.7如何设置不区分大小写
How to use flexible arrays?
The application of machine learning in software testing
DockerMySQL无法被宿主机访问的问题解决
POJ 1094 sorting it all out
QT signal and slot
CUDA exploration
What can be done for traffic safety?
Uniapp setting background image effect demo (sorting)
ICLR 2022 | pre training language model based on anti self attention mechanism
Demonstration of the development case of DAPP system for money deposit and interest bearing financial management
COSCon'22 社区召集令来啦!Open the World,邀请所有社区一起拥抱开源,打开新世界~
How to choose the server system
Interview question: AOF rewriting mechanism, redis interview must ask!!!
Puppeter connects to the existing Chrome browser