Skip to content

Instantly share code, notes, and snippets.

@soichisumi
Last active February 26, 2019 12:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save soichisumi/3fa598b08fc323cadc247de161c314ae to your computer and use it in GitHub Desktop.
Save soichisumi/3fa598b08fc323cadc247de161c314ae to your computer and use it in GitHub Desktop.

install azure-cli

  1. brew update && brew install azure-cli
  2. az login

load credential to kubectl

az aks get-credentials --resource-group myResourceGroup --name myAKSCluster

load credetial to docker-cli

az acr login --name <acrName>

docker tag name rule for azure container registry

docker tag hello-world <acrLoginServer>/hello-world:v1 はacrを作成したときやコンソールで得られるサーバの完全就職子名

Azure KubernetesサービスからAzureコンテナレジストリで認証する

https://docs.microsoft.com/en-us/azure/container-registry/container-registry-auth-aks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment