aws / aws/containers-roadmap

[EKS] [AutoMode]: Allow subnet update for the default NodeClass

Open
#2,793 0 comments 4 reactions 0 assignees View on GitHub
EKS EKS Auto Mode Proposed
Dominant language
Shell
Stars
5.4k
Forks
334
PR merge metrics
No merged PRs in 30d

Description

### Community Note

* Please vote on this issue by adding a 👍 [reaction](https://blog.github.com/2016-03-10-add-reactions-to-pull-requests-issues-and-comments/) to the original issue to help the community and maintainers prioritize this request
* Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
* If you are interested in working on this issue or have submitted a pull request, please leave a comment

**Tell us about your request**
When working with [EKS AutoMode](https://docs.aws.amazon.com/eks/latest/userguide/automode.html#_configuration), the default NodePool and NodeClass are not meant to be edited:

> Custom NodePools and NodeClasses: Default NodePools and NodeClasses are configured by EKS Auto Mode and you should not edit them.

This is fair, as many customer may just use it "as it is". The issue is that when you initially create the EKS Cluster, the default NodeClass inherits the Subnets from here. If you later modify/update/replace the Subnets in the Cluster configuration, they won't be updated or propagated to the Default NodeClass. Nodes will still be using the old settings. This can be counter-intuitive for customers looking for a zero-touch config. It becomes tricky (or impossible) to change this, forcing the creation of a new NodePool and NodeClass.

I think is fair to lock in and preserve this matching the Cluster configuration. But if the Cluster configuration changes, this must be propagated to the default NodeClass as well. I understand this can have implications as migrating workloads, but this should be modifiable in some way. Otherwise, the only options left are:
1. Creating a new Cluster
2. Forcing the setup to use a new NodeClass

**Which service(s) is this request for?**
EKS

Contributor guide

Open the contributing guide

Research direction

The issue names EKS Auto Mode, the Cluster configuration, and the default NodeClass and NodePool, but no repository files or tests. Start by reviewing the linked EKS Auto Mode configuration and how subnet settings are inherited. Done means the desired behavior for later Cluster subnet changes and their migration implications is defined and the default NodeClass can follow the approved configuration path.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, kubernetes
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.