From a5b9d7af32d2fd0a8ae72d972467d907295827bd Mon Sep 17 00:00:00 2001 From: Poornima Krishnasamy Date: Thu, 27 Jul 2023 17:42:19 +0100 Subject: [PATCH] Update eks upgrade guide for tools image bump --- runbooks/source/upgrade-eks-cluster.html.md.erb | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/runbooks/source/upgrade-eks-cluster.html.md.erb b/runbooks/source/upgrade-eks-cluster.html.md.erb index 3a35d92d..77cd8365 100644 --- a/runbooks/source/upgrade-eks-cluster.html.md.erb +++ b/runbooks/source/upgrade-eks-cluster.html.md.erb @@ -1,7 +1,7 @@ --- title: Upgrade EKS cluster weight: 53 -last_reviewed_on: 2023-05-06 +last_reviewed_on: 2023-07-27 review_in: 3 months --- @@ -18,9 +18,9 @@ Therefore, it will not always require an upgrade of the terraform-aws-eks module ## Run the upgrade, via the tools image -The cloud platform [tools image] has all the software required to run the upgrade. +The cloud platform [tools image](https://github.com/ministryofjustice/cloud-platform-tools-image.git) has all the software required to run the upgrade. -Start from the root directory of a working copy of the [infrastructure repo]. +Start from the root directory of a working copy of the [infrastructure repo](https://github.com/ministryofjustice/cloud-platform-infrastructure.git). With your environment variables set, launch a bash shell on the tools image: @@ -113,6 +113,11 @@ This will cause the node to stall the update and the nodes will **not** continue To rectify this, run the script mentioned in [Recycle-all-nodes- Gotchas](/recycle-all-nodes.html#gotchas) section. +### Update kubectl version in tools image + +kubectl is supported within one minor version (older or newer) of the cluster version. Update the kubectl version in the cloud platform +[tools image](https://github.com/ministryofjustice/cloud-platform-tools-image.git) to match the current cluster version. + ### Upgrade addon(s) We have 3 addons managed through cloud-platform-terraform-eks-add-ons [module](https://github.com/ministryofjustice/cloud-platform-terraform-eks-add-ons).