In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
In this issue, the editor will bring you about how to provide PV dynamically. The article is rich in content and analyzes and narrates it from a professional point of view. I hope you can get something after reading this article.
PV dynamic supply
In the previous example, we created the PV in advance, then applied for the PV through PVC and used it in Pod, which is called static provisioning (Static Provision).
The counterpart is dynamic provisioning (Dynamical Provision), that is, if there is no PV that meets the PVC condition, the PV will be created dynamically. Compared with static supply, dynamic supply has obvious advantages: it does not need to create PV in advance, reduces the workload of administrators, and has high efficiency.
Dynamic provisioning is achieved through StorageClass, and StorageClass defines how to create a PV. Here are two examples.
StorageClass standard:
StorageClass slow:
Both StorageClass dynamically create AWS EBS, except that standard creates an EBS of type gp2, while slow creates an EBS of type io1. The parameters supported by different types of EBS can be found in the official AWS documentation.
StorageClass supports both Delete and Retain reclaimPolicy, and the default is Delete.
As before, PVC only needs to specify StorageClass and capacity and access mode when applying for PV, such as:
In addition to AWS EBS,Kubernetes, it supports a variety of Provisioner that dynamically feeds PV.
The above is the editor for you to share how to provide PV dynamically, if you happen to have similar doubts, you might as well refer to the above analysis to understand. If you want to know more about it, you are welcome to follow the industry information channel.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.