$30 off During Our Annual Pro Sale. View Details »

Kubernetes with aks

Kubernetes with aks

Lucas Santos

May 30, 2020
Tweet

More Decks by Lucas Santos

Other Decks in Programming

Transcript

  1. Kubernetes
    with AKS

    View Slide

  2. lsantos.dev
    cloud advocate_
    quem sou eu_
    [email protected]

    View Slide

  3. Slides will be on Twitter (@_staticvoid)!

    View Slide

  4. Disclaimers

    View Slide

  5. What is Kubernetes?

    View Slide

  6. Kubernetes
    - Created by Google in 2000 as
    an orchestration tool
    - First open-source version in
    2015
    - Now maintained by CNCF
    (Cloud Native Computing
    Foundation)
    - Came to solve distributed
    software issues

    View Slide

  7. what issues?
    - Communication mess
    - Esoteric error messages
    - Autoscaling
    - Deep tracing
    - Network routing
    - Distributed management

    View Slide

  8. Complexity_

    View Slide

  9. Container evolution over the years
    Libraries

    View Slide

  10. View Slide

  11. How it works_?

    View Slide

  12. View Slide

  13. Kubernetes Master
    Scheduler Service
    API Server
    Node Controller
    State storage (etcd)

    View Slide

  14. Kubelet Proxy
    Your APP

    View Slide

  15. kubectl
    - Single point of control
    - CLI to control Kubernetes
    - Human interface to the Kubernetes API
    - Based on config files
    - Very easy to set up in different hosts
    - Default CLI to all Kubernetes-based apps

    View Slide

  16. control plane

    View Slide

  17. YAML Manifests

    View Slide

  18. The problem_

    View Slide

  19. Difficulties
    - Network Discovery
    - Clusterization
    - Proxy
    - DNS
    - Load Balancer
    - Volumes

    View Slide

  20. Managed services_

    View Slide

  21. AKS GKE EKS

    View Slide

  22. Why cloud?
    - Faster
    - More efficient
    - Less manual work
    - Maintenance
    - Equipment variety

    View Slide

  23. Why AKS?
    - Easy and simple
    - No paying for master node
    - Routing out-of-the-box
    - Cluster autoscale
    - Native monitoring
    - Virtual Nodes

    View Slide

  24. Virtual Nodes_

    View Slide

  25. Kubernetes node
    Autoscaling...
    Virtual Nodes

    View Slide

  26. DEMO

    View Slide

  27. Known issues - Resource requests and limits
    - Networking

    View Slide

  28. refs_
    - https://aka.ms/k8s-virtual-nodes
    - speakerdeck.com/khaosdoctor/kubernetes-with-aks
    - https://aka.ms/az-k8s-docs
    - https://aka.ms/az-workshop-learn
    - https://aka.ms/k8s-scale
    - https://aka.ms/aks-virtual-nodes-cli

    View Slide

  29. /khaosdoctor @_staticvoid
    lsantos.dev
    /khaosdoctor
    thanks_

    View Slide