In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)05/31 Report--
This article shows you how to use CSI and Kubernetes to dynamically expand storage volumes. The content is concise and easy to understand. It will definitely brighten your eyes. I hope you can get something through the detailed introduction of this article.
The following describes how to extend the latest Container Storage Interface 0.2.0 and integrate with Kubernetes to demonstrate the basics of dynamically expanding storage volume capacity.
Introduction
As we focus on our customers, especially in the financial field, there is a lot of room for development by using container choreography technology.
Customers are looking for open source solutions to redesign existing monolithic applications that have been running on virtualized infrastructure or bare metal for several years.
Considering scalability and technological maturity, Kubernetes and Docker are at the top of the list. However, migrating a single application to a distributed orchestration like Kubernetes is challenging, and relational databases are critical to migration.
With regard to relational databases, we should pay attention to storage. Kubernetes itself has a very powerful storage subsystem. It is very useful and covers a wide range of use cases. When planning to run relational data repositories using Kubernetes in production, we faced a huge challenge: storage. Still lack some basic functions. Specifically, dynamically expand the amount of storage. It sounds boring but much needed, except for create and delete, as well as operations like mount and unmount.
Currently, extended storage volumes apply only to those storage vendors:
-gcePersistentDisk
-awsElasticBlockStore
-OpenStack Cinder
-glusterfs
-rbd
To enable this feature, we should set the function gate ExpandPersistentVolumes to true and open the PersistentVolumeClaimResize allow plug-in. "when PersistentVolumeClaimResize is enabled, storage classes with the allowVolumeExpansion field set to true allow resizing."
Unfortunately, even if the underlying storage provider has this capability, it is not possible to dynamically extend the storage volume through the Container Storage Interface (CSI) and Kubernetes.
The above is how to use CSI and Kubernetes to dynamically extend storage volumes. Have you learned any knowledge or skills? If you want to learn more skills or enrich your knowledge reserve, 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: 269
*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.