Skip to content

Add Kubernetes onboarding #198

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions source/onboarding/person/index.html.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,22 @@ 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:

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`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 you should not need to do this

and an SDS subscription cannot be put here as CFT developers won't have access to it.


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`
Copy link
Contributor

@timja timja Mar 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚫 troubleshooting page has a full list, that should be linked instead of adding an SDS cluster


You can now view pods using kubectl in the mi namespace, for example `kubectl get pods -n mi -o wide`
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wary of adding a specific namespace here as it won't be everywhere, there's docs in https://hmcts.github.io/ways-of-working/troubleshooting/#debug-application-startup-issues-in-aks for this


Contact #platops-help on slack for any support.
Copy link
Contributor

@timja timja Mar 24, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the channel should be a link search the repo for references.

🚫 please don't just say contact platops-help, it should be ask someone in your team if you are having any issues, if you get stuck you can raise a help request


## Recommended reading

- [Continuous Delivery](https://continuousdelivery.com/)
Expand Down