Increase EKS Fargate storage

0

Each pod running on Fargate receives 20 GB of container image layer storage. Is there a way to increase this storage? I noticed there is a way for ECS, but could not find anything for EKS.

Hassan
質問済み 2年前1600ビュー
3回答
2

Today, you can't update the ephemeral storage associated with an EKS Fargate pod. My suggestion would be to look into mounting an EFS volume.

AWS
回答済み 2年前
  • Unfortunately, EFS volume mounting won't work as 2 of our images are already bigger than 20GiB.

1

hello,

I understand you want to know if it is possible to increase storage on EKS, well by default, Fargate tasks that are launched with platform version 1.40 include a task storage size of 20 GiB as a single ephemeral volume. If you need more than 20 GiB of storage, you can configure more storage using two options:

1.Use Fargate's ephemeral storage option for storage up to 200 GiB. Ephemeral storage is non-persistent storage.

2.Use Amazon Elastic File System (Amazon EFS) volumes for scalable file storage. Amazon EFS volumes provide[1]

however this options are only compatable with fargate ECS storage not EKS meaning it you can't increase it using either of the above mentioned method as eks doesn't support ephemeral storage(non-persistent)

Reference link

1.https://docs.aws.amazon.com/AmazonECS/latest/developerguide/efs-volumes.html

steven
回答済み 2年前
  • That's unfortunate, I don't understand why Amazon doesn't provide this feature for EKS. EFS volume mounting won't work as 2 of our images are already bigger than 20GiB.

0

You can add larger volumes with EKS fargate now: https://aws.amazon.com/cn/blogs/containers/amazon-eks-fargate-adds-support-for-larger-ephemeral-volumes/

apiVersion: v1
kind: LimitRange
metadata:
  name: storage-limit-range
spec:
  limits:
  - defaultRequest:
      ephemeral-storage: 20Gi
    max:
      ephemeral-storage: 175Gi
    type: Container
AWS
jjpe
回答済み 8ヶ月前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ