Storage Class and PVCs
Set up Storage Classes and PVCs in Kubernetes
Step 1: Create an Amazon EFS
Refer to steps here
Step 2: Create Storage Class with EFS Parameter
Navigate to Kubernetes -> Storage -> Storage Class
Configure EFS parameter created at Step1 by clicking on EFS Parameter.
Step3: Create Persistent Volume (PVC) using Storage Class
Here, we are configuring Kubernetes to use Storage Class created in Step2 above, to create a Persistent Volume with 10Gi of storage capacity and ReadWriteMany access mode.
Step4: Mount PVC to the POD Deployment
Configure below in Volumes to create your application deployment using this PVC.
Volumes field
Last updated