Deleting and adding subnet from an aws eks cluster

0

How do I delete a subnet in an eks cluster using the command: aws eks.......

I need to delete the cluster subnet: subnet-0b0c38aacba4f47d2

And add the subnet to the cluster: subnet-093c61d66a8293e85

2 個答案
1

Hello,

It is currently not possible to add/delete your subnets that are registered with your EKS cluster. There is an open feature request for this use-case and the EKS team is currently working on it.

Please be advised that you can run worker nodes in any subnets of your VPC, they do not have to be the same ones registered with your EKS cluster. Please refer EKS subnet considerations for more info.

Thank you!

profile pictureAWS
支援工程師
已回答 1 年前
0

Hello,

Here is a good news. Amazon EKS now allows modification of cluster subnets and security groups. (see What's new) You can now add or delete subnets from your EKS cluster.

Please note that the subnets passed through an update API call must comprise the same set of AZs as originally passed when creating the cluster.

Best,

Young

AWS
支援工程師
Young_H
已回答 5 個月前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南