Al usar AWS re:Post, aceptas las AWS re:Post Términos de uso

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 Respuesta
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
respondido hace un año
profile picture
EXPERTO
revisado hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas