Mount EFS on EKS Bottlerocket node #4094
-
I'm having an EKS cluster where I create node groups using EC2 launch templates. If I use an Amazon Linux 2(GPU enabled) AMI type, I can specify an EFS mount on the User data of the launch template so each new node will mount the same EFS. I've also read about the Mount propagations in bootstrap and superpowered containers. So, If I use a Bottlerocket NVIDIA AMI type on my node group, I need to do the same, specify an EFS mount in TOML format on the EC2 launch template. Is this even possible? I've read the following discussions but couldn't find a clear answer: Is there another way that I can mount EFS on the nodes? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hey @nikosarg , thanks for opening this discussion. Out of curiosity, do you create bind mounts in the containers from the path in the host where the EFS filesystem is mounted? Have you tried to use the EFS CSI driver to manage your EFS filesystems? |
Beta Was this translation helpful? Give feedback.
Hey @nikosarg , thanks for opening this discussion. Out of curiosity, do you create bind mounts in the containers from the path in the host where the EFS filesystem is mounted? Have you tried to use the EFS CSI driver to manage your EFS filesystems?
https://github.com/kubernetes-sigs/aws-efs-csi-driver