In this video series, Jorge Arteiro will introduce AKS, Azure Kubernetes Services to Fernando Rolnik and will show how to get start with valuable tips.

Part 1 – Introduction to Azure Kubernetes Services

In the first part, Jorge will introduce the Azure Kubernetes Services, including: - Architecture - Basic components - Node pools - Tools to work with AKS.

Part 2 – How to Install Azure Kubernetes Services including Demo

Part two will show how to create a Kubernetes cluster on Azure, using AKS. Jorge will explore all options on the portal. How to use the kubectl tool, what are namespaces, how to deploy a container, how to forward a port to the container, and how to expose the container with a public IP. When the pods and services start to run, we will check it using the monitoring dashboard.

Commands used on this video:

  1. After create the service, get the credentials to your kubectl: az aks --resource-group <Your Cluster RG> --name <Your Cluster Name>
  2. Check the context: kubectl config get-contexts
  3. Check nodes: kubectl get nodes
  4. Create a deployment: kubectl create deployment microbot --image=dontrebootme/microbot:v1
  5. Check what K8s is running: kubectl get all
  6. Check what is running on default namespace: kubectl get all -n default
  7. Port Forward to access to a pod: kubectl port-forward <Pod name> <LocalPort>:<RemotePort>
  8. Assign a public IP to the deployment: kubectl expose deployment microbot --port=80 --target-port=80 --type=LoadBalancer

Follow us on Twitter

@azuretar @fernandorolnik @jorgearteiro

Subscribe the Azuretar YouTube Channel