Home / Platform management / Clusters / Clusters / Public Cloud Cluster Initialization / Storage Initialization / AWS EKS Cluster Storage Initialization

AWS EKS Cluster Storage Initialization

Integration with AWS EKS and storage initialization configuration.

Constraints and Limitations

Prerequisites

Procedures

Create Storage Class

  1. Go to Platform Management, click Storage Management > Storage Class in the left navigation bar.

  2. Click Create Storage Class on the right side > YAML Create.

  3. Add the following content to the YAML file to create a default storage class as needed. The default storage class names are efs-sc for file storage and ebs-sc for block storage.

    • EFS File Storage

      Note: Replace <File System ID> with the actual File System ID. For example: fileSystemId: fs-05aef9e1edd309f2b.

      kind: StorageClass
      apiVersion: storage.k8s.io/v1
      metadata:
        name: efs-sc
      provisioner: efs.csi.aws.com
      parameters:
        provisioningMode: efs-ap
        fileSystemId: <File System ID>
        directoryPerms: "755"
    • EBS Block Storage

      allowVolumeExpansion: true
      apiVersion: storage.k8s.io/v1
      kind: StorageClass
      metadata:
        name: ebs-sc
      provisioner: ebs.csi.aws.com
      reclaimPolicy: Delete
      volumeBindingMode: WaitForFirstConsumer
  4. Click Create.

    Note: If the default storage class doesn’t meet your requirements, you can create a new storage class and modify the corresponding parameters as needed. Refer to Storage Class Available Parameters for details.

Modify Storage Class Assignment to Projects

  1. In the left navigation bar, click Storage Management > Storage Class.

  2. Click the Update Project button on the right of the storage class named efs-sc or ebs-sc.

  3. Choose how to Assign Projects as needed, then click Update to assign the storage class to projects for use.

Configure Storage Class Available Parameters