Deploying a multi-container application to Azure Kubernetes Services
dilemma - Running a company subscription that does not allow me to use Active Directory for applications and configuration of Azure resources.
solution - Go native connection. Hooked up the pipeline with a connection.
Deploying a multi-container application to Azure Kubernetes Services
version=$(az aks get-versions -l westus --query 'orchestrators[-1].orchestratorVersion' -o tsv)
az group create --name akshandsonlab --location westus
az aks create --resource-group akshandsonlab --name k8sgo --enable-addons monitoring --kubernetes-version $version --generate-ssh-keys --location westus
az acr create --resource-group akshandsonlab --name k8sgo --sku Standard --location westus
az aks update -n k8sgo -g akshandsonlab --attach-acr k8sgo
az sql server create -l westus -g akshandsonlab -n k8sgo -u sqladmin -p P2ssw0rd1234
az sql db create -g akshandsonlab -s k8sgo -n mhcdb --service-objective S0
- Create Connection
- Add containerRegistry to the variables