//Cloud notes from my desk -Maheshk

"Fortunate are those who take the first steps.” ― Paulo Coelho

AKS CLI Sheetcheat for the labs

az login
az account show
az account select –subscription SUBSCRIPTION_NAME
az group create –name k8s –location eastus2
az aks get-versions –location eastus2 -o table
az aks create –resource-group k8s –name my-cluster –kubernetes-version 1.14.6 –location eastus2 –node-count 3 –generate-ssh-keys
az aks get-credentials –resource-group k8s –name my-cluster
kubectl get nodes
kubectl cluster-info
Download – https://github.com/Azure-Samples/azure-voting-app-redis
mkdir voting-app
cd voting-app
wget https://raw.githubusercontent.com/Azure-Samples/azure-voting-app-redis/master/azure-vote-all-in-one-redis.yaml
kubectl apply -f azure-vote-all-in-one-redis.yaml
kubectl get pods
kubectl get svc / kubectl get svc -w
az group delete –name k8s

2019-11-25 - Posted by | Uncategorized

No comments yet.

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: