Customers can now specify the size (in GiB) of ephemeral storage that their workloads require using the storage parameter in their pod spec. 20 GiB of ephemeral storage is included with every EKS Fargate pod. Additional ephemeral storage requested, up to 175GB, is charged in GB increments for the duration that the pod is running. See the Fargate pricing page for more details. Customers with data intensive workloads, like machine learning inference, data processing, or with large container images, can now use AWS Fargate with Amazon EKS to reduce their operational burden, pay only for the resources used by their applications, and get the security benefits of AWS Fargate’s built-in workload isolation.
Fargate storage
A Pod running on Fargate automatically mounts an Amazon EFS file system. You can't use dynamic persistent volume provisioning with Fargate nodes, but you can use static provisioning. For more information, see Amazon EFS CSI Driver on GitHub.
When provisioned, each Pod running on Fargate receives a default 20 GiB of ephemeral storage. This type of storage is deleted after a Pod stops. New Pods launched onto Fargate have encryption of the ephemeral storage volume enabled by default. The ephemeral Pod storage is encrypted with an AES-256 encryption algorithm using AWS Fargate managed keys.
Note- The default usable storage for Amazon EKS Pods that run on Fargate is less than 20 GiB. This is because some space is used by the kubelet and other Kubernetes modules that are loaded inside the Pod.
You can increase the total amount of ephemeral storage up to a maximum of 175 GiB. To configure the size with Kubernetes, specify the requests of ephemeral-storage
resource to each container in a Pod. When Kubernetes schedules Pods, it ensures that the sum of the resource requests for each Pod is less than the capacity of the Fargate task. For more information, see Resource Management for Pods and Containers in the Kubernetes documentation.
Amazon EKS Fargate provisions more ephemeral storage than requested for the purposes of system use. For example, a request of 100 GiB will provision a Fargate task with 115 GiB ephemeral storage.
Top comments (0)