[Cloud Native] AWS EKS1.25 configures StorageClass-EFS storage class

Introduction

StorageClass is defined as a storage "class" in kubernetes. Using this type of resource can help us reduce the manual creation of PVs and PVCs. For more information, please refer to: Storage Class | Kubernetes

The volume plug-in supports AWS EBS, NFS, etc. We need to switch to EFS products. Someone has created an EFS plug-in on Github.

Work list

cd /dwz/yaml/storageclass/

Tools and versions
area cn-north-1(Beijing)
aws-cli 2.11.21
eksctl 0.141.0
EKS (kubernetes) 1.25
kubectl 1.25
helm 3.2.4

1. Create StorageClass-EFS

Switch working directory

cd /dwz/aws/efs/  #自定义位置
<

Guess you like

Origin blog.csdn.net/zhanremo3062/article/details/131617194