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

Serverless Computing in Azure Kubernetes Service mit KEDA

Thorsten Hans
September 24, 2020

Serverless Computing in Azure Kubernetes Service mit KEDA

Mit Azure Functions stellt Microsoft ein flexibles und mächtiges Framework für Serverless Computing bereit, womit skalierbare und reaktive Anwendungen erstellt werden können. Mit Kubernetes Event-driven Applications (KEDA), können Sie Ihre Azure Functions problemlos in einem Kubernetes-Cluster betreiben. Doch KEDA kümmert sich nicht nur um den Betrieb. Durch geschickte Integration von sowohl externen als auch internen Nachrichten- und Ereignissystemen wie Azure Service Bus oder Azure Event Hub skaliert KEDA Ihre Azure Functions automatisch anhand der anfallenden Anfragen. In diesem Vortrag zeigt Thorsten Hans, wie Sie zukunftssichere, skalierbare und reaktive cloud-native Anwendungen erstellen.

Thorsten Hans

September 24, 2020
Tweet

More Decks by Thorsten Hans

Other Decks in Technology

Transcript

  1. Serverless Computing in Azure
    Kubernetes Service mit KEDA
    Thorsten Hans
    @ThorstenHans
    Consultant

    View Slide

  2. Focus: Cloud Native & Infrastructure as Code
    Consultant @ Thinktecture AG
    [email protected] [email protected]
    thinktecture.com thorsten-hans.com
    @ThorstenHans
    Thorsten Hans

    View Slide

  3. Talking Points
    Scaling in Kubernetes Scaling with KEDA Hands-On

    View Slide

  4. Kubernetes scaling capabilities
    § Manual scaling
    § Load based scaling
    § Horizontal Pod Autoscaler
    § AKS Cluster Autoscaling
    Scaling in Kubernetes

    View Slide

  5. Manual scaling
    Scaling in Kubernetes

    View Slide

  6. Horizontal Pod Autoscaler (HPA)
    Scaling in Kubernetes

    View Slide

  7. Cluster Autoscaling in AKS
    Scaling in Kubernetes

    View Slide

  8. Talking Points
    Scaling in Kubernetes Scaling with KEDA Hands-On

    View Slide

  9. Kubernetes Event-driven Autoscaling
    § https://keda.sh
    § Cloud Native Computing Foundation sandbox project
    § Vendor Agnostic
    § Contextual Autoscaling
    § Ships with 25 built-in scalers
    § Built-in Azure Functions Support
    What is KEDA

    View Slide

  10. Architecture
    KEDA
    https://keda.sh/docs/2.0/concepts/

    View Slide

  11. Architecture
    KEDA
    Application Container
    KEDA Operator

    View Slide

  12. Flixbile scaling
    § Scale based on actual load
    § Built-in scalers for
    § Databases
    § Messaging engines
    § Telemetry systems
    § Cache engines
    § Unified configuration approach
    § ScaledObject specification
    KEDA Scalers

    View Slide

  13. Talking Points
    Scaling in Kubernetes Scaling with KEDA Hands-On

    View Slide

  14. Azure Storage Queue Azure Storage Blob
    Async Processing with Azure Functions and KEDA
    Demo Architecture
    Azure Storage Queue
    Azure Functions
    Azure Functions

    View Slide

  15. Kubernetes Event-driven Autoscaling
    - Install KEDA
    - Deploy Azure Functions
    - Configure Connections to Azure Storage
    - Deploy ScaledObjects
    - Produce Load to verify scaling
    Demo

    View Slide