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

Conversation

david-gimelle
Copy link

Change description

Add Kubernetes onboarding

Does this PR introduce a breaking change? (check one with "x")

[ ] Yes
[ ] No

Copy link

@banderous banderous left a comment

Choose a reason for hiding this comment

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

LGTM, ok with you @timja ?

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


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`
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


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.
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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants