Is is safe to switch between addon and helm chart distribution of aws-ebs-csi-driver?

0

Hi, I have multiple eks clusters and some of them are using addon, some helm chart. I want to unify the behavior by leaving only one of them. Is it considered safe just to remove the driver on fly and install different distribution of it?

已提问 1 年前240 查看次数
1 回答
1
已接受的回答

Hello,

Thank you for posting on AWS re:Post!

I understand you are inquiring whether it is possible to switch between an installation of Amazon EBS CSI driver (aws-ebs-csi-driver) managed by Helm and an installation managed as an EKS addon. I am pleased to confirm that this is indeed possible!

When an EBS-backed persistent volume claim is created, the Amazon EBS CSI driver automatically mounts the EBS volume to the node so it can be used by your pods. However, once the volume is mounted, the Amazon EBS CSI driver is not required to access data on the volume. In short, the Amazon EBS CSI driver is only required when making changes to persistent volume claims, not to access the data within them.

Therefore, your pods will remain able to read and write to their persistent volume claims if you uninstall the Amazon EBS CSI driver and then re-install it in another way. However, you must bear in mind that if there are any worker node events (e.g. a pod needs to be replaced or a service is auto-scaled) then these operations could be delayed while the Amazon EBS CSI driver is being re-installed.

I hope you find this information helpful. Please feel free to comment below if there is anything you would like me to elaborate on further!

Regards,

Marrick.

AWS
支持工程师
已回答 1 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则