当前位置:网站首页>Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
Topolvm: kubernetes local persistence scheme based on LVM, capacity aware, dynamically create PV, and easily use local disk
2022-06-27 01:00:00 【InfoQ】
- Emptydir Non persistent scheme ,Pod Delete ,EmptyDir It will be emptied . in addition Emptydir It uses rootfs Storage space , This space may be on the system disk , Therefore, it should be used with caution .
- HostPath Persistence scheme , But the security risks are high , The government does not recommend . in addition , It is also inconvenient from the point of view of use . For example, as a user , You must first know the situation of the target system , Only after you know the specific drive letter and directory location can you HostPath Quote correctly in . But the reality is from the perspective of cluster security , The user may not have the right to log in to the machine directly . And even if your Pod Occupied the directory of a host computer , Nor can we rule out the second occupation by others , Or misoperation . therefore HostPath The usage scenarios for are actually very limited .
- Local Persistent Volume Persistence scheme , With PVC/PV To use local storage . Good idea. , But it cannot be created dynamically PV, about PV For providers , The mental burden is high . Of course, the community now offers Local Static Provisioner, To some extent, it simplifies the mental burden of this piece , But you still need to plan directories or partitions in advance , It's not enough .
- Apply on demand It means that it is best to PVC+StorageClass To provide services , Achieve PV Dynamically create . And to achieve that ,Capacity aware Is the key , Because it is obviously unreasonable to schedule to nodes with insufficient space . It's better to combine PVC Capacity requested +Node Remaining capacity on , Comprehensively select the best node to bind .
- Spatial isolation Make sure that the space requested by the user is sufficient , Free from encroachment . From here , Simply use the directory of the file system as PV But it is obviously inappropriate not to isolate each other in capacity .
- Automated lifecycle management dynamic Provisioning Is a strong demand .
- dynamic Provisioning
- Support native block volumes (Raw Block Volume)
- Volume Telescopic

- Volume: https://kubernetes.io/docs/concepts/storage/volumes/
- PV: https://kubernetes.io/docs/concepts/storage/persistent-volumes/
- Storage Capacity: https://kubernetes.io/docs/concepts/storage/storage-capacity/
- LVM: https://en.wikipedia.org/wiki/Logical_Volume_Manager_(Linux)
边栏推荐
- Skills needing attention in selection and purchase of slip ring
- 3-wire SPI screen driving mode
- One click acceleration of Sony camera SD card file copy operation, file operation batch processing tutorial
- ArcGIS 镶嵌数据集切片丢失问题处理
- 其他服务注册与发现
- Timing mechanism of LwIP
- Keepalived 实现 Redis AutoFailover (RedisHA)17
- Hid device descriptor and keyboard key value corresponding coding table in USB protocol
- At present, which securities company is the best and safest to open an account for stock speculation?
- 如何写好测试用例以及go单元测试工具testify简单介绍
猜你喜欢

XSS攻击笔记(上)

BootstrapBlazor + FreeSql实战 Chart 图表使用(2)
![统计无向图中无法互相到达点对数[经典建邻接表+DFS统计 -> 并查集优化][并查集手册/写的详细]](/img/cc/a0be58eddc72c22a9a6ee5c61eb81a.png)
统计无向图中无法互相到达点对数[经典建邻接表+DFS统计 -> 并查集优化][并查集手册/写的详细]

Solve the problem that stc8g1k08 program cannot run and port configuration

一键加速索尼相机SD卡文件的复制操作,文件操作批处理教程

解决STC8G1K08程序不能运行的问题和端口配置

buuctf-pwn write-ups (6)

解决unable to create a folder to save the sketch: mkdir sketch

Timing mechanism of LwIP

Solve the problem that only one line of text is displayed or not displayed in u8glib
随机推荐
Gaussian and Summary Stats
Oracle 數據庫基本知識概念
BootstrapBlazor + FreeSql实战 Chart 图表使用(2)
ArcGIS 镶嵌数据集切片丢失问题处理
TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
find_circ详细使用指南
气液滑环与其他滑环的工作原理有什么区别
如何写好测试用例以及go单元测试工具testify简单介绍
XSS攻击笔记(上)
TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
从位图到布隆过滤器,C#实现
JSON解析,ESP32轻松获取时间气温和天气
Redis detailed tutorial
The [MySQL] time field is set to the current time by default
Central Limit Theorem
Play OLED, u8g2 animation, increasing numbers, random triangles, etc
【Vscode】预览md文件
USB协议中HID设备描述符以及键盘按键值对应编码表
Hid device descriptor and keyboard key value corresponding coding table in USB protocol
30《MySQL 教程》MySQL 存储引擎概述