Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Benefits of Managed Kubernetes in Azure (Azure Container Service, AKS)

Benefits of Managed Kubernetes in Azure (Azure Container Service, AKS)

Internal Talk @ Redgate Open Space Event #2, Cambridge, UK

Written version of the talk: https://medium.com/ingeniouslysimple/walkthrough-and-benefits-of-managed-kubernetes-in-azure-azure-container-service-aks-45168667920c

3a53a5136f530c121a196914aecf3936?s=128

Tugberk Ugurlu

December 08, 2017
Tweet

Transcript

  1. Benefits of Managed Kubernetes in Azure (Azure Container Service, AKS)

    Tugberk Ugurlu http://tugberkugurlu.com @tourismgeek
  2. A bit background...

  3. Shameless plug: Zero downtime deployments... https://vimeo.com/171317249

  4. example-api-v0-6327638 example-api-v0-7814219 example-api-v0-9528392 LB v0.example.com example-api- process example-api- process example-api-

    process example-api-v0-6786234 example-api-v0-3266280 example-api-v0-8429842 example-api- process example-api- process example-api- process
  5. Internal LB-1 LB-1 Internal LB-2 server1 server2 server3 server4 server5

    server6 server7 server8 server9 server10 client client client client client client #ABBDevDay
  6. None
  7. A bit background, summary! • Zero-downtime deployments are hard (no

    shit!) • I didn’t want to do it manually by coupling with a specific cloud provider • I wanted something that the entire team can understand and have a chat about (good abstraction with clear concepts)
  8. Kubernetes!

  9. But, wait!

  10. None
  11. “Managed Kubernetes container orchestration service in Azure! Azure Container Service

    (AKS) to the rescue!
  12. “Removes the complexity of implementing, installing, maintaining and securing Kubernetes.

    Azure Container Service (AKS)
  13. “Avoid being locked into any one vendor or resource. Azure

    Container Service (AKS)
  14. Deploy an AKS Cluster and Run the Apps on It

    Create a resource group Enable AKS on Azure Create AKS cluster Connect to the cluster Run the application
  15. All through Azure CLI and kubectl

  16. Enable the service

  17. Create the resource group

  18. Creating the Cluster

  19. Browse in K8s Dashboard

  20. AKS Cluster in Azure Portal

  21. AKS Cluster in Azure Portal

  22. AKS Cluster in Azure Portal

  23. AKS Cluster in Azure Portal

  24. Run the Apps on AKS

  25. Test the App

  26. Test the App

  27. Scaling the Nodes See https://docs.microsoft.com/en-us/azure/aks/scale-cluster

  28. Upgrading the K8s cluster See https://docs.microsoft.com/en-us/azure/aks/tutorial-kubernetes-upgrade-cluster

  29. Resources • AKS Docs: https://docs.microsoft.com/en-gb/azure/aks/ • Container Registry Docs: https://docs.microsoft.com/en-gb/azure/container-registry/

    • Connect(); 2017 session: https://channel9.msdn.com/Events/Connect/2017/E101 • Launch blog post: https://azure.microsoft.com/en-gb/blog/introducing-azure-container-service- aks-managed-kubernetes-and-azure-container-registry-geo-replication/ • Sample app code: https://github.com/Azure-Samples/azure-voting-app-redis