-
Notifications
You must be signed in to change notification settings - Fork 11
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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` | ||
|
||
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` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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` | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe 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/) | ||
|
There was a problem hiding this comment.
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.