DevOps virtualization
On a machine like ssh.cs.dixie.edu
:
az login
az group create --name myResourceGroup --location eastus
az provider register --namespace Microsoft.OperationsManagement
az provider register --namespace Microsoft.OperationalInsights
az aks create --resource-group myResourceGroup --name myAKSCluster --node-count 1 --generate-ssh-keys
az aks install-cli
(may already be installed on ssh)az aks get-credentials --resource-group myResourceGroup --name myAKSCluster
kubectl get nodes
kubectl create -f sample.yml
kubectl apply -f https://raw.githubusercontent.com/abhirockzz/kubernetes-in-a-nutshell/master/services/loadbalancer/service.yaml
kubectl apply -f https://raw.githubusercontent.com/abhirockzz/kubernetes-in-a-nutshell/master/services/app/app.yaml
az group delete --name myResourceGroup --yes --no-wait