Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update add-nodes-to-the-eks-cluster.html.md.erb #4996

Merged
merged 2 commits into from
Nov 20, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 5 additions & 6 deletions runbooks/source/add-nodes-to-the-eks-cluster.html.md.erb
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
---
title: Add nodes to the AWS EKS cluster
weight: 65
last_reviewed_on: 2023-09-27
last_reviewed_on: 2023-11-20
review_in: 6 months
---

# Add nodes to the AWS EKS cluster

This runbook covers how to increase the number of nodes in an eks cluster
This runbook covers how to increase the number of nodes in an eks cluster

This can address the problem of CPU high usage/load

Expand All @@ -34,7 +34,7 @@ node_groups_count = {
manager = "4"
default = "3"
}
# Default node group minimum capacity
# Default node group minimum capacity
default_ng_min_count = {
live = "45"
live-2 = "2"
Expand All @@ -61,11 +61,10 @@ Set the desired number of nodes that the group should launch with initially.
nodes
```

Modifying the node_groups_count in terraform will not update the desired size of the EKS cluster nor increase the actual node count. Its a design decision the
Modifying the node_groups_count in terraform will not update the desired size of the EKS cluster nor increase the actual node count. Its a design decision the
module has taken. Refer issue [#835](https://github.com/terraform-aws-modules/terraform-aws-eks/issues/835).

To increase/decrease the desired node group count, we need to use the AWS dashboard. Login to the AWS dashboard and navigate to EKS -> Select Cluster -> Select Compute tab
To increase/decrease the desired node group count, we need to use the AWS dashboard. Login to the AWS dashboard and navigate to EKS -> Select Cluster -> Select Compute tab
Choose the Node Group you want to edit and Click Edit. Change the desired size and click Save Changes.

Watch the number of nodes using `kubectl get nodes`. You should see the new nodes getting created to match the desired size.