From 38c826234b6010a67bbbddb462080d53a23cf0e4 Mon Sep 17 00:00:00 2001 From: Mike Bell Date: Mon, 22 Apr 2024 12:00:08 +0100 Subject: [PATCH 1/2] Add runbook on upgrading AMI versions --- .../source/upgrade-AMI-version.html.md.erb | 24 +++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 runbooks/source/upgrade-AMI-version.html.md.erb diff --git a/runbooks/source/upgrade-AMI-version.html.md.erb b/runbooks/source/upgrade-AMI-version.html.md.erb new file mode 100644 index 00000000..e8781fe7 --- /dev/null +++ b/runbooks/source/upgrade-AMI-version.html.md.erb @@ -0,0 +1,24 @@ +--- +title: Upgrade AMI Version +weight: 53 +last_reviewed_on: 2024-04-22 +review_in: 6 months +--- + +# Upgrade AMI Version + +AWS releases new AMI versions for EKS node groups that include Kubernetes patches and security updates. To upgrade the node groups to use the new AMI version: + +- login to the AWS console +- Select EKS and select the cluster +- Select the node group and click on `Update AMI version` +- Select the Update Strategy to "Force update" and click on "Update" + +This will perform a rolling update of all the nodes in the node group. Follow the steps in [Recycle all nodes](#recycle-all-nodes) section to recycle all the nodes. + +# Recycle all nodes + +When a node group version changes, this will cause all of the nodes to recycle. When AWS recycles the nodes, it will not evict pods if it will break the PDB. +This will cause the node to stall the update and the nodes will **not** continue to recycle. + +To rectify this, run the script mentioned in [Recycle-all-nodes- Gotchas](/recycle-all-nodes.html#gotchas) section. \ No newline at end of file From 6b79cd42877a3883ccfde8c3b3751245b3ca64f8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 22 Apr 2024 11:01:13 +0000 Subject: [PATCH 2/2] Commit changes made by code formatters --- runbooks/source/upgrade-AMI-version.html.md.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runbooks/source/upgrade-AMI-version.html.md.erb b/runbooks/source/upgrade-AMI-version.html.md.erb index e8781fe7..6b579988 100644 --- a/runbooks/source/upgrade-AMI-version.html.md.erb +++ b/runbooks/source/upgrade-AMI-version.html.md.erb @@ -21,4 +21,4 @@ This will perform a rolling update of all the nodes in the node group. Follow th When a node group version changes, this will cause all of the nodes to recycle. When AWS recycles the nodes, it will not evict pods if it will break the PDB. This will cause the node to stall the update and the nodes will **not** continue to recycle. -To rectify this, run the script mentioned in [Recycle-all-nodes- Gotchas](/recycle-all-nodes.html#gotchas) section. \ No newline at end of file +To rectify this, run the script mentioned in [Recycle-all-nodes- Gotchas](/recycle-all-nodes.html#gotchas) section.