Refactor/eks/managed nodes/system reserved and kube reserved#2382
Refactor/eks/managed nodes/system reserved and kube reserved#2382wcarlsen wants to merge 19 commits into
Conversation
…bled by default Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
… github.com:dfds/infrastructure-modules into remove/eks/addon/vpc-cni/prefix-delegation-variable
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
|
After speaking with @SEQUOIIA and @rifisdfds we decided to:
|
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
… Ready state under extreme CPU and memory pressure Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
… github.com:dfds/infrastructure-modules into refactor/eks/managed-nodes/system-reserved-and-kubeReserved
… max_pods of 110 and stop setting instance_types on launch_template Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
0193217 to
04afcbb
Compare
…emplate Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
|
This PR fails when being rolled back to master branch and not on applying feature branch see https://github.com/dfds/infrastructure-modules/actions/runs/28049163804/job/83038273166. The issue on master comes from a change on this PR migrating instance_type from launch_template resource to node_group resource to improve support for mixed instance_types. When it rolls back to master it cannot because there no changes really happening to the launch_template, but the instance_type parameter isn't set on the nodegroup and then it fails. So the failing check on this PR is not from applying the changes, it is from the rollback. |
|
@wcarlsen would you please update the description to reference the docs mentioning about the the calculation in regards to scaling of kubelet reserved CPU ? |
Sure thing. It is pretty hard to find and it is a combination of a lot of unofficial links and some AWS Batch documentation for AWS EKS. Basically AWS uses the same calculation for CPU as GKE and AKS and on memory they diverge. If I find some good links I will add them, but any changes to this branch breaks master when rolling back. So it will have to wait until after tomorrow. You probably have to be more specific with what you mean with docs? Is in a comment in the code or in the description of this PR or somewhere else? |
Here is the links from AWS Batch on EKS kubeReserved:
and here are links to the official go code setting these values: |
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
3774a3b to
01872f8
Compare
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
Signed-off-by: Willi Carlsen <carlsenwilli@gmail.com>
e2cc25b to
4175cc6
Compare
…-and-kubeReserved
|
This one mixes in different concept so replacing it with this PR #2395 |
Describe your changes
This is a stacked PR depending on #2380 to be merged first.
We remove variables:
Issue ticket number and link
Checklist before requesting a review
test/integrationfolder to apply my changes in QA. Read the guide on adding environment variables in QAIs it a new release?
release:(major|minor|patch), following semantic versioning in this guide ornoreleaseif there is no changes to the Terraform code