当前位置:网站首页>Kubernetes + Yanrong SaaS data service platform, personalized demand support has never been lost
Kubernetes + Yanrong SaaS data service platform, personalized demand support has never been lost
2022-06-21 17:38:00 【YAN_ RONG_ TECHNOLOGY】
Yan Rong SaaS The platform provides NFS Mounted capacity file system , Can be used in a variety of scenarios , For example, backup 、 Network disk 、 File sharing, etc . Today we will explain in detail how to combine Kubernetes Create mounts on demand to further meet personalized needs .
01 Basic environment preparation
After creating the virtual , For subsequent operations , We need to make the necessary adjustments .
Ban Selinux

modify ssh Login key , take authorized_keys The first part of the verification in the... Is removed , And then to root again ssh Sign in .

modify hostname And restart

02 install Kubernetes
Kubernetes There are many ways to install , There are also many distributions , Common installation methods are adopted in this paper .
First installation Docker And start the , We use CentOS default 1.13 Version can .


In the installation Kubernetes And confirm the work , This article only creates a single node Kubernetes Environmental Science , According to need , You can consider expanding the capacity by yourself .

03 Get ready NFS To configure
Yan Rong SaaS The platform provides NFS Mounting method , But how to apply to Kubernetes Environmental Science , Need to think about . take NFS The directory is mounted on the host , And then use it HostPath To allocate storage volumes , inflexible . We all know Kubernetes In memory PVC The concept of , If it works PVC To automatically pass NFS establish PV The way , Will be much more flexible . Here we directly use the official nfs-client-provisioner To meet these needs .
Install first nfs-utils


Through Yanrong SaaS platform (https://t.hk.uy/atc2) After creating the file system , On the file system mount page, you can see the following .

We need records DNS Name and subsequent /mnt/yrfs/5a-xxx-xxxx-xxxx791b5e Information about , Fill in the corresponding marking position of the following documents .





After creating the corresponding file , We see nfs-client-provisioner Create success .

04 functional verification
Let's first verify whether the function works properly .
In the above steps , We created StorageClass, For example, this StorageClass, We can use PVC To automatically create PV.



Through the above nfs-test-pod.yaml, We created PVC as well as PV, And mounted to test-pod Inside , The file was written successfully .

Before we will nfs After the directory is mounted locally , You can see the written file .

thus , We have completed the operation Kubernetes utilize NFS Provisioner Components in Yanrong SaaS Create on demand subdirectories on platform capacity file systems , And the practice of successfully reading and writing files . Next , Let's explore more application scenarios .
边栏推荐
- Week 13 summary blog (week 15 of the school calendar) dynamic planning summary
- Bm19 looking for peak
- The fundamental task of Natural Science
- Redis6.0新特性(上)
- The new razor component supports proxy connection to RDP, and jumpserver fortress v2.23.0 is released
- Characteristic requirements of MES system in sheet metal industry
- 变量
- I am about to enter my senior year and begin my most sincere confession
- Bm22 compare version number
- 算法--按奇偶性交换后的最大数字(Kotlin)
猜你喜欢

MySQL 1055错误-this is incompatible with sql_mode=only_full_group_by解决方案
![[MySQL learning notes 19] multi table query](/img/e6/4cfb8772e14bc82c4fdc9ad313e58a.png)
[MySQL learning notes 19] multi table query

室内膨胀型防火涂料根据BS 476-21 耐火标准测定需要符合几项?

加速雲原生應用落地,焱融 YRCloudFile 與天翼雲完成兼容性認證

关于SSM整合,看这一篇就够了~(保姆级手把手教程)

【数据集】|BigDetection

PTA l3-031 thousand hand Guanyin (30 points)

Four areas of telephone memory

稳若磐石的焱融 SaaS 服务平台背后,是数据生态的崛起

data type
随机推荐
The fundamental task of Natural Science
Analysis of 43 cases of MATLAB neural network: Chapter 26 classification of LVQ Neural Network - breast tumor diagnosis
3M mutual aid intelligent contract system development and construction technology
20 pyGame module to make a jumping ball game
shamir
泊松抽样与伯努利抽样主要联系与区别
The node server res.end() writes Chinese, and the solution to the problem of garbled code in the client
欧洲家具EN 597-1 跟EN 597-2两个阻燃标准一样吗?
Accelerate the implementation of cloud native applications, and Yanrong yrcloudfile and Tianyi cloud have completed the Compatibility Certification
[MySQL learning notes 17] sorting out common functions
火山引擎+焱融 YRCloudFile,驱动数据存储新增长
Summary of the 16th week
应用架构原则
compose 编程思想
即将步入大四,开始我最真情的告白
叩富网开期货账户安全可信吗?
Function call model
关于xlrd库的基础操作(新手向)
Lagrange interpolation
win32com 操作excel