From 199d1f66993212369834fbe64a2c3ceef6d2b55c Mon Sep 17 00:00:00 2001 From: David Gimelle Date: Thu, 24 Mar 2022 11:47:41 +0000 Subject: [PATCH 1/2] Add Kubernetes onboarding --- source/onboarding/person/index.html.md.erb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/source/onboarding/person/index.html.md.erb b/source/onboarding/person/index.html.md.erb index bc06afb9..0b860a77 100644 --- a/source/onboarding/person/index.html.md.erb +++ b/source/onboarding/person/index.html.md.erb @@ -76,6 +76,13 @@ You must be in one of the following groups: - DTS SDS Developers - DTS Docker Hub +## Kubernetes +In order to connect to kubernetes clusters in AKS you need to install azure client and kubectl. + +Follow this documentation to install them and test you connection to Kubernetes clusters: [How to get on AKS](https://tools.hmcts.net/confluence/display/RMDP/How+to+get+on+AKS) + +Contact #platops-help on slack for any support. + ## Recommended reading - [Continuous Delivery](https://continuousdelivery.com/) From 42e30f78a262972191cf3a66869b9d38f0abbcfd Mon Sep 17 00:00:00 2001 From: David Gimelle Date: Thu, 24 Mar 2022 15:21:22 +0000 Subject: [PATCH 2/2] Update Kubernetes doc --- source/onboarding/person/index.html.md.erb | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/source/onboarding/person/index.html.md.erb b/source/onboarding/person/index.html.md.erb index 0b860a77..a11f10eb 100644 --- a/source/onboarding/person/index.html.md.erb +++ b/source/onboarding/person/index.html.md.erb @@ -77,9 +77,18 @@ You must be in one of the following groups: - DTS Docker Hub ## Kubernetes -In order to connect to kubernetes clusters in AKS you need to install azure client and kubectl. +In order to connect to kubernetes clusters in AKS you need to install azure client and kubectl: -Follow this documentation to install them and test you connection to Kubernetes clusters: [How to get on AKS](https://tools.hmcts.net/confluence/display/RMDP/How+to+get+on+AKS) +Install the Azure Client on your machine. https://docs.microsoft.com/en-us/cli/azure/install-azure-cli + +Setup the client using `az login`. +Set your current working subscription with `az account set --subscription DTS-SHAREDSERVICES-DEV` + +Install the Kubernetes Client on your machine. https://kubernetes.io/docs/tasks/tools + +Get credentials for the AKS cluster you are working with `az aks get-credentials --resource-group ss-dev-00-rg --name ss-dev-00-aks` + +You can now view pods using kubectl in the mi namespace, for example `kubectl get pods -n mi -o wide` Contact #platops-help on slack for any support.