Using EBS volumes as persistent storage in EKS Cluster

0

Hello everyone,

I found the ebs-csi-driver which gives me the possibility to create EBS volumes and attach them dynamically to my cluster nodes.

I know the volume will be bound to the AZ and have some limitations but I would like to know if there is a way in which the volume will follow the pod which uses it. Let me explain, if the pod A on Node1 is using the PV1(mounted of the latter node), when the pod A get rescheduled into Node2, in the same AZ as Node1, it won't be able to find its persistent storage because the volume stays mounted on the old node.

Is there a mechanisms which grant me the possibility to detatch and attach the volume dynamically to nodes folowing the pod behavior?

I know there's multi-attach and EFS, but currently both solution will have a higher cost the first because it is only available using Io1/io2 and volumeNode: Block and the latter is a total different system replicated cross AZ.

Thank you for your time!

1개 답변
0

Hey, EFS is a good solution here. It is replicated across AZ and also cheaper. https://aws.amazon.com/efs/pricing/

Use this blog to connect EFS with your EKS pods. https://repost.aws/knowledge-center/eks-pods-encryption-efs

Let me know if you need something

profile picture
답변함 5달 전
profile picture
전문가
Kallu
검토됨 4달 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠