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
# Deployment using PersistentVolumeClaim. 
- Name: <volumne name>
  Path: <mount path>
      claimName: <pvc name>

Last updated


© DuploCloud, Inc. All rights reserved. DuploCloud trademarks used herein are registered trademarks of DuploCloud and affiliates