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

Need for scale, the Serverless way

Need for scale, the Serverless way

Take advantage of both the capabilities of Azure Kubernetes Service and the management value and cost benefit of Azure Container Instances. Use Virtual Nodes to keep up with application demands and scale workloads instantly without the need to add more nodes to the cluster.

Ahmed Nada

April 27, 2019
Tweet

Other Decks in Technology

Transcript

  1. Takeaways 1. Serverless option to scale Kubernetes and how it

    works. 2. Readiness for production @a_nada
  2. ACI • Fast provisioning of containers. • Only pay per

    second for execution time. • No need to provision virtual machines. @a_nada
  3. Virtual Kubelet @a_nada • Open source project started by Microsoft.

    • Donated to CNCF • Cloud providers support virtual-kubelet.io
  4. Kubelet Node A Node B Master Node Kubelet Proxy P

    P P Kubelet Proxy P P scheduler api-server controller kubectl
  5. Providers • Alibaba Cloud Elastic Container Instance (ECI) • AWS

    Fargate • Azure Batch • Azure Container Instances (ACI) • Kubernetes Container Runtime Interface (CRI) • Huawei Cloud Container Instance (CCI) • HashiCorp Nomad • OpenStack Zun • vSphere Integrated Containers (VIC) @a_nada
  6. kubectl taint nodes node1 os=linux:NoSchedule tolerations: - key: "os" operator:

    "Equal" value: "linux" effect: "NoSchedule" tolerations: - key: “virtual-kubelet" operator: “Exists" effect: "NoSchedule"
  7. Windows-based containers • By joining Windows nodes to a Linux-based

    cluster, release of Kubernetes 1.14 • Using Virtual Kubelet @a_nada
  8. Limitations • Liveness and readiness probes • VNet peering •

    Init containers • Host aliases support • DaemonSets will not deploy pods to the virtual node @a_nada