Skip to content

Commit

Permalink
Merge pull request #4996 from ministryofjustice/pwyborn-patch-1
Browse files Browse the repository at this point in the history
Update add-nodes-to-the-eks-cluster.html.md.erb
  • Loading branch information
pwyborn authored Nov 20, 2023
2 parents 58fad2a + 970cf8d commit 80ee5e2
Showing 1 changed file with 5 additions and 6 deletions.
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.

0 comments on commit 80ee5e2

Please sign in to comment.