-
Notifications
You must be signed in to change notification settings - Fork 7
Useful CLI Commands
Tosin edited this page Apr 28, 2020
·
6 revisions
az aks get-credentials --resource-group RESOURCE_GROUP --name NAME --subscription SUBSCRIPTION --overwrite
Replace the values with the one you can connect to, can be found in Portal Azure Kubernetes Service
alias k=kubectl
k config set-context --current --namespace=family-public-law
k config use-context CONTEXT
k get pods
k get pods -n admin # can see flux pods
k logs POD_NAME # might require to add -n admin if you want different namespace
k describe pod # pod name
k delete pod
k get hr -n family-public-law # check the status of the helm release
helm repo add hmctspublic https://hmctspublic.azurecr.io/helm/v1/repo/
helm dependency update charts/fpl-case-service
helm {install|upgrade}
helm {uninstall|delete}
helm list
helm install --dry-run --debug fpl-case-service --generate-name -f fpl-case-service/values.yaml > output.yaml
A handy utility to make switching between namespaces and contexts easier
Kubernetes can be set up to be integrated with IntelliJ following this guide