aws / aws/containers-roadmap

[EKS] [Windows]: Add support for kube-reserved and eviction-hard properties for Start-EKSBootstrap.ps1 script

Open
#1,245 0 comments 5 reactions 0 assignees View on GitHub
EKS Proposed Windows
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**
What do you want us to build?
- Configuration to pass `kube-reserved` and eviction-hard properties to `Start-EKSBootstrap.ps1` script on windows nodes.
- This feature is similar to following pull request from Linux AMI - https://github.com/awslabs/amazon-eks-ami/pull/367

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

**Tell us about the problem you're trying to solve. What are you trying to do, and why is it hard?**
What outcome are you trying to achieve, ultimately, and why is it hard/impossible to do right now? What is the impact of not having this problem solved? The more details you can provide, the better we'll be able to understand and solve the problem.

**Are you currently working around this issue?**
How are you currently solving this problem?
- update `C:\ProgramData\kubernetes\kubelet-config.json` file prior to kubelet boot up on the worker node.

```
<--REDACTED-->
"kubeReserved": {
"cpu": "70m",
"ephemeral-storage": "1Gi",
"memory": "442Mi"
},
<--REDACTED-->
```

**Additional context**
Anything else we should know?

**Attachments**
If you think you might have additional information that you'd like to include via an attachment, please do - we'll take a look. (Remember to remove any personally-identifiable information.)

Contributor guide

Open the contributing guide

Research direction

Start by locating Start-EKSBootstrap.ps1 and reviewing the analogous Linux AMI pull request #367. Trace how the Windows bootstrap handles kubelet configuration, including C:\ProgramData\kubernetes\kubelet-config.json, and verify the resulting kube-reserved and eviction-hard settings are present before kubelet starts.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, kubernetes, powershell
Domain
cloud, infrastructure
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.