From 8f3bc5c130bb90cc3aed9c990f39262e649705b1 Mon Sep 17 00:00:00 2001 From: sj-williams Date: Fri, 5 Jul 2024 13:50:29 +0100 Subject: [PATCH 1/2] =?UTF-8?q?docs:=20=E2=9C=8F=EF=B8=8F=20update=20clust?= =?UTF-8?q?er=20upgrade=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- runbooks/source/eks-cluster.html.md.erb | 6 ++++++ runbooks/source/upgrade-eks-cluster.html.md.erb | 6 +++++- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/runbooks/source/eks-cluster.html.md.erb b/runbooks/source/eks-cluster.html.md.erb index d3192484..6cb226d5 100644 --- a/runbooks/source/eks-cluster.html.md.erb +++ b/runbooks/source/eks-cluster.html.md.erb @@ -166,3 +166,9 @@ terraform apply ``` [cluster build pipeline]: https://concourse.cloud-platform.service.justice.gov.uk/teams/main/pipelines/create-cluster + +# Provisiong a custom cluster + +If you working on a task that involves changing/adding cluster configuration or components, you can have Concourse execute a clean cluster build for you based off your working infrastructure branch. Refer to the instructions detailed in the Concourse repository [pipelines README](https://github.com/ministryofjustice/cloud-platform-terraform-concourse/blob/main/pipelines/README.md#custom-cluster-pipeline) for the steps to follow. + +Once you're done with your customised cluster, you can have Concourse delete it for you using the branch flag of the [CLI delete-cluster command](https://runbooks.cloud-platform.service.justice.gov.uk/delete-cluster.html#delete-the-cluster-with-concourse-delete-cluster-pipeline). \ No newline at end of file diff --git a/runbooks/source/upgrade-eks-cluster.html.md.erb b/runbooks/source/upgrade-eks-cluster.html.md.erb index f0950592..195abdd8 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: 2024-04-10 +last_reviewed_on: 2024-07-05 review_in: 6 months --- @@ -35,6 +35,10 @@ Before you begin, there are a few pre-requisites: - Run [kubent](https://github.com/doitintl/kube-no-trouble) against cluster to find deprecated APIs. +## Creating Cluster Upgrade GitHub Issues + +In order to help maintain a clear process for steps to follow in carrying out a cluster upgrade, we have an [issue template](https://github.com/ministryofjustice/cloud-platform/blob/main/.github/ISSUE_TEMPLATE/cloud-platform-k8s-upgrade-template.md) which is used by [this script](https://github.com/ministryofjustice/cloud-platform/blob/main/cmd/create-upgrade-issues/main.go) to create individual issues for each step of the upgrade process. As you work through these issues, its helpful to review and update the template where necessary to ensure it remains relevant for future upgrades. + ## Upgrade Steps ### Compatibility Check From 98de4d672a147beeccdb48bdc565883f79fddb78 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Fri, 5 Jul 2024 12:51:27 +0000 Subject: [PATCH 2/2] Commit changes made by code formatters --- runbooks/source/eks-cluster.html.md.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/runbooks/source/eks-cluster.html.md.erb b/runbooks/source/eks-cluster.html.md.erb index 6cb226d5..afc3c5e9 100644 --- a/runbooks/source/eks-cluster.html.md.erb +++ b/runbooks/source/eks-cluster.html.md.erb @@ -169,6 +169,6 @@ terraform apply # Provisiong a custom cluster -If you working on a task that involves changing/adding cluster configuration or components, you can have Concourse execute a clean cluster build for you based off your working infrastructure branch. Refer to the instructions detailed in the Concourse repository [pipelines README](https://github.com/ministryofjustice/cloud-platform-terraform-concourse/blob/main/pipelines/README.md#custom-cluster-pipeline) for the steps to follow. +If you working on a task that involves changing/adding cluster configuration or components, you can have Concourse execute a clean cluster build for you based off your working infrastructure branch. Refer to the instructions detailed in the Concourse repository [pipelines README](https://github.com/ministryofjustice/cloud-platform-terraform-concourse/blob/main/pipelines/README.md#custom-cluster-pipeline) for the steps to follow. -Once you're done with your customised cluster, you can have Concourse delete it for you using the branch flag of the [CLI delete-cluster command](https://runbooks.cloud-platform.service.justice.gov.uk/delete-cluster.html#delete-the-cluster-with-concourse-delete-cluster-pipeline). \ No newline at end of file +Once you're done with your customised cluster, you can have Concourse delete it for you using the branch flag of the [CLI delete-cluster command](https://runbooks.cloud-platform.service.justice.gov.uk/delete-cluster.html#delete-the-cluster-with-concourse-delete-cluster-pipeline).