当前位置:网站首页>2022-04-22 openebs cloud native storage
2022-04-22 openebs cloud native storage
2022-04-23 08:44:00 【Blood dragon waving wings】
Catalog
OpenEBS
OpenEBS It's a utility model Go Container based block storage open source software written in .OpenEBS Make it more reliable to run critical tasks in containers and loads that need data persistence .
OpenEBS from CloudByte Research and development , This is a company specializing in container storage ,OpenEBS It is an open source product ,CloudByte Put his experience in enterprise container storage into the project . The vision of the project is also simple , Is to enable the storage services in the workload requiring persistent storage to be directly integrated into the environment , Storage services can automatically manage , Hide the stored details , Just as the storage system is another infrastructure .
We know AWS Provided in EBS(Elastic Block Storage), Apply to Amazon EC2 Persistent block storage , It can meet the functional and performance requirements of the most demanding applications ,OpenEBS That is, its open source implementation .
brief introduction
Use OpenEBS, You can put containers with persistent data , Treat... Like any other ordinary container .OpenEBS It is also deployed through containers , Support Kubernetes、Swarm、Mesos、Rancher Arrange and schedule , Storage services can be assigned to each pod、 Applications 、 Cluster or container level , Include :
- Cross node data persistence
- Data synchronization across availability zones and cloud vendors
- Use commercial hardware and container engines to provide highly scalable block storage
- Integration with container orchestration engine , Developers' applications can be configured automatically OpenEBS
- be based on CloudByte stay BSD Experience in containerization , Provide users with OpenEBS Of QoS Guarantee
framework
OpenEBS The storage controller itself runs in the container .OpenEBS Volume It consists of one or more containers running as microservices . This storage controller function is based on the micro service architecture —— Each volume's data is provided by its own set of containers , Instead of having a unified system that provides control for multiple volumes at the same time , Monomers (monolithic) Storage controller to provide . This is it. OpenEBS Essential difference from traditional storage devices .
OpenEBS The architecture of can be divided into data plane (Data Plane) And the control plane (Control Plane) Two parts :
- Data plane : Provide data storage for applications
- Control plane : management OpenEBS Volume container , This usually uses the functions of container choreography Software
Data plane
The picture below is OpenEBS Corresponding to Kubernetes The architecture diagram of the deployment on the cluster . among , The yellow part is OpenEBS Persistent storage volumes , adopt Kubernetes Of PV To create , Use iSCSI To achieve , Data saved in node Volumes on nodes or in the cloud ( Such as EBS、GPD etc. ), It depends on where your cluster is deployed .OpenEBS Volume management is completely independent of the user's application lifecycle , This is also Kuberentes Medium PV The basic idea of .
OpenEBS Volumes provide persistent storage for containers , It has flexibility for system failure , Faster access to storage , Snapshot and backup capabilities . Besides , It also provides monitoring of usage and execution QoS The mechanism of strategy .
The disk on which data is stored is called the storage backend , It can be a host Directory , Additional block devices or remote disks . Every OpenEBS The volume contains a iSCSI Target container ( In the figure above, it is shown as openebs-vol1) And one or more replica containers (openebs-vol1-R1 and openebs-vol1-R2).
Applications pod adopt iSCSI The target container accesses the storage ,iSCSI The destination container replicates data to all its replicas . In the event of a node failure ,iSCSI The target container will start from one of the remaining online nodes , And provide data by connecting to the available replica container .
Source code
The implementation of this part includes two containers :
- openebs/jiva: Storage control function , Including replication logic
- openebs/gotgt: from openebs/jiva The use of iSCSI Target function
Control plane
OpenEBS The control plane is also called storage arrangement or maya. The purpose is to create hyperfused OpenEBS, Mount it to, for example Kubernetes、Swarm、Nomad Wait for the container scheduling engine , It is used to extend the storage function provided by a specific container choreography system .

OpenEBS The control plane is also based on microservices , Its services can be divided into the following parts :
- Container orchestration plug-in , Used to add the function of strong container orchestration framework :
- Kubernetes Dynamic configuration :openebs-provisioner
- Kubernetes-dashboard:openebs-dashboard
- Extended schema: be based on Kubernetes Of CRD( Custom resource type ), Storage OpenEBS Relevant configuration data
- The cluster service , Provide OpenEBS Specific storage intelligence , Such as :
- maya-apiserver: Contains... For performing volume operations API, Convert orchestrated requests to specific operating system containers
- maya-mulebot: Use the collected information to suggest optimized layout and event handling tips
- maya-connect: Allow uploading monitoring data to
maya-cloud, In order to further analyze the storage access mode
- Node services , Provide OpenEBS Specific random kubelet Storage intelligence running together , Such as :
- maya-agent: Including storage management functions
By using prometheus、heapster、grafana and jaegar Perform the above services , Monitoring and tracking functions can be added .
Source code
- openebs/maya: All specific binaries ( Non plug in ) All stored in this warehouse , such as
maya-apiserver、maya-agent、maya-mulebot、maya-connect、mayactlwait . - openebs-dashboard:kubernetes-dashboard The branch of the project , Expanded storage capabilities .
- openebs-provisioner: come from Kubernetes Of the incubator project OpenEBS K8s Provisioner.
Reference resources
版权声明
本文为[Blood dragon waving wings]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230828552938.html
边栏推荐
- IDEA导入commons-logging-1.2.jar包
- Word plus watermark
- 洋桃电子STM32物联网入门30步笔记四、工程编译和下载
- Go语言自学系列 | golang结构体指针
- Yangtao electronic STM32 Internet of things entry 30 step notes IV. engineering compilation and download
- JVM工具之Arthas使用
- 请问中衍期货安全靠谱吗?
- 错误: 找不到或无法加载主类
- STM32 uses Hal library. The overall structure and function principle are introduced
- Output first order traversal according to second order and middle order traversal (25 points)
猜你喜欢

ESP32程序下载失败,提示超时

flask项目跨域拦截处理以及dbm数据库学习【包头文创网站开发】

Yangtao electronic STM32 Internet of things entry 30 step notes IV. engineering compilation and download

Failed to convert a NumPy array to a Tensor(Unsupported Object type int)

RCC introduction of Hal Library

idea配置连接远程数据库MySQL,或者是Navicat连接远程数据库失败问题(已解决)

On time atom joins hands with oneos live broadcast, and the oneos system tutorial is fully launched

虚拟线上展会-线上vr展馆实现24h沉浸式看展

Idea is configured to connect to the remote database mysql, or Navicat fails to connect to the remote database (solved)

MySQL查询两张表属性值非重复的数据
随机推荐
MATLAB入门资料
Ajax cache prevention method
Ear acupoint diagnosis and treatment essay 0421
What is RPC
Add random attributes to the Li class array objects and sort them
2021李宏毅机器学习之Adaptive Learning Rate
Failed to prepare device for development
ONEFLOW learning notes: from functor to opexprinter
Misunderstanding of flush () method of OutputStream class
Output first order traversal according to second order and middle order traversal (25 points)
Go语言自学系列 | golang结构体指针
Use of applicationreadyevent
信息收集相关知识点及题解
K210学习笔记(二) K210与STM32进行串口通信
企业微信应用授权/静默登录
Latex mathematical formula
Test your machine learning pipeline
Shell script advanced
完全二叉搜索树 (30 分)
idea打包 jar文件