Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 1.03 KB

File metadata and controls

34 lines (28 loc) · 1.03 KB

Create Kubernetes cluster in Microsoft Azure cloud

Deploy - portal

Deploy to Azure

Deploy - CLI

  • Install Azure CLI
  • Open Windows PowerShell
  • Login
    az login
    
  • Create resource group and apply template
    az group create --name Scray-Blockchain-Test --location "eastus"
    az deployment group create   --name Scray-Blockchain-Test   --resource-group Scray-Blockchain-Test   --template-file aks-template.json
    

Access cluster

  • Get kubernetes credentials
    az aks get-credentials --overwrite-existing  --resource-group Scray-Blockchain-Test --name Scray-Blockchain-Test
    
  • Apply service
    kubectl apply -f k8s-ds-cloud-service.yaml
    

Clean

az group delete  --name Scray-Blockchain-Test