Skip to content

Instantly share code, notes, and snippets.

@kidchenko
Created September 23, 2020 15:00
Show Gist options
  • Save kidchenko/5dc07e34c39c4add0ba9dc78de4f03bc to your computer and use it in GitHub Desktop.
Save kidchenko/5dc07e34c39c4add0ba9dc78de4f03bc to your computer and use it in GitHub Desktop.
kubectl
# add aks config to local kubectl
az aks get-credentials --name ${AKS NAME} --resource-group ${AKS_RESOURCE_GROUP_NAME}
# create new shell
kubectl exec --stdin --tty ${CONTAINER_NAME} -n ${NAMESPACE} -- /bin/bash
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment