SlideShare a Scribd company logo
6
Most read
7
Most read
15
Most read
Nilesh Gule
@nileshgule | www.HandsOnArchitect.com
Event Driven
Workloads on Kubernetes with
$whoami
{
“name” : “Nilesh Gule”,
“website” : “https://www.HandsOnArchitect.com",
“github” : “https://GitHub.com/NileshGule"
“twitter” : “@nileshgule”,
“linkedin” : “https://www.linkedin.com/in/nileshgule”,
“likes” : “Technical Evangelism, Cricket”,
“co-organizer” : “Azure Singapore UG”
}
Event driven workloads on Kubernetes with KEDA
@nileshgule
KEDA
Kubernets based Event Driven Autoscaling
Scaling in Kubernetes KEDA Overview
TechTalks demo with RabbitMQ Autoscaling with KEDA
KEDA Architecture
Agenda
Pre-requisites
• Self contained application with all its
dependencies
Docker
• Orchestrates containers
• Self healing
• Service discovery
• Scaling
Kubernetes
• Dockerhub / private container registry
• Repository for storing container images
Container Registry
• Managed Kubernetes service on Azure
• Native integration with other Azure services like Azure Active
Directory (AAD), Azure Container registry (ACR), Azure
Container Instances (ACI), Azure Monitor etc.
Azure Kubernetes Service (AKS)
@nileshgule
Kubernetes Scaling Options
1
2
3
Horizontal Pod
Autoscaler
Cluster Autoscaler
Manual scaling
Event driven workloads on Kubernetes with KEDA
Event driven workloads on Kubernetes with KEDA
@nileshgule
Demo setup
1000
(configurable)
messages
Batch of 50
(configurable)
messages
https://github.com/NileshGule/pd-tech-fest-2019
@nileshgule
TechTalks Demo – Kubernetes deployment
https://github.com/NileshGule/pd-tech-fest-2019
 Manifest files describe Deployment and Service
 Helm charts to deploy third-party apps / services
 Octant – visualize k8s cluster
 Kubectl to deploy Manifest
 Postman to generate workload
@nileshgule
Demo KEDA in action
Event driven workloads on Kubernetes with KEDA
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
name: rabbitmq-consumer
namespace: default
labels:
deploymentName: rabbitmq-consumer-deployment
spec:
scaleTargetRef:
deploymentName: rabbitmq-consumer
pollingInterval: 5 # Optional. Default: 30 seconds
cooldownPeriod: 30 # Optional. Default: 300 seconds
minReplicaCount: 1 # Optional. Default: 0
maxReplicaCount: 30 # Optional. Default: 100
triggers:
- type: rabbitmq
metadata:
queueName: hello
queueLength : ‘5’
authenticationRef:
name: trigger-auth-rabbitmq-host
Event driven workloads on Kubernetes with KEDA
Azure Blob Storage
Azure Event Hub
Azure Log Analytics
Azure Service Bus Queues
and Topics
Azure Storage Queues
ActiveMQ Artemis
Kafka
Prometheus
RabbitMQ
Redis Streams
Redis Lists
Liiklus
NATS
Huawei Cloudeye
AWS CloudWatch
AWS Kinesis Stream
AWS Simple Queue Service
GCP PubSub
Azure functions
MySQL
PostgreSQL
https://keda.sh/docs/2.0/scalers/
Summary
• Single purpose lightweight component
• Any Kubernetes cluster (1.16+)
• Extends Kubernetes with event driven capabilities
• No overwriting or duplication of existing functionalities
• Maps an event source to Deployment, StatefulSet, Custom Resource or Job for
scaling
• Flexible and safe to run alongside any other Kubernetes framework or application
• Support 35+ auto scalers out of the box
KEDA
Play with Docker
Play with Kubernetes
Linux Academy learning paths
KEDA
AKS cluster-autoscalar
Horizontal pod autoscale
https://azure.microsoft.com/mediahandler/files/resourcefiles/kubernetes-learning-
path/Kubernetes%20Learning%20Path%20version%201.0.pdf
Azure Kubernetes
Service Workshop
References
References
https://www.youtube.com/channel/UCJOvQz55Ly-
Rkr_ldE8pMEQ/videos
https://github.com/NileshGule/pd-tech-fest-2019
Thank you very much
Code with Passion and Strive for Excellence
https://www.slideshare.net/nileshgule/presentations
https://speakerdeck.com/nileshgule/
Nilesh Gule
ARCHITECT | MICROSOFT MVP
“Code with Passion and
Strive for Excellence”
nileshgule @nileshgule Nilesh Gule
NileshGule
www.handsonarchitect.com
Q&A

More Related Content

What's hot (20)

PPTX
Azure kubernetes service (aks)
Akash Agrawal
 
PDF
Elasticsearch
Hermeto Romano
 
PDF
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
Brian Brazil
 
PDF
ELK introduction
Waldemar Neto
 
PPTX
Microservices Part 3 Service Mesh and Kafka
Araf Karsh Hamid
 
PPTX
Elasticsearch
Divij Sehgal
 
PPTX
ELK Elasticsearch Logstash and Kibana Stack for Log Management
El Mahdi Benzekri
 
PPTX
DevSecOps in the Cloud from the Lens of a Well-Architected Framework.pptx
Turja Narayan Chaudhuri
 
PPTX
Introduction to Elasticsearch
Ismaeel Enjreny
 
PPTX
Intro to Azure Service Bus
George Grammatikos
 
PDF
Introducing Kogito
Red Hat Developers
 
PDF
Airflow for Beginners
Varya Karpenko
 
PDF
Kafka Streams vs. KSQL for Stream Processing on top of Apache Kafka
Kai Wähner
 
PDF
Cloud Monitoring with Prometheus
QAware GmbH
 
PPTX
Kafka 101
Aparna Pillai
 
PDF
Migrating Apache Spark ML Jobs to Spark + Tensorflow on Kubeflow
Databricks
 
PDF
Operator SDK for K8s using Go
CloudOps2005
 
PDF
What is the State of my Kafka Streams Application? Unleashing Metrics. | Neil...
HostedbyConfluent
 
PPTX
Introduction to Kafka and Zookeeper
Rahul Jain
 
PDF
Monitoring with Prometheus
Shiao-An Yuan
 
Azure kubernetes service (aks)
Akash Agrawal
 
Elasticsearch
Hermeto Romano
 
Monitoring Kubernetes with Prometheus (Kubernetes Ireland, 2016)
Brian Brazil
 
ELK introduction
Waldemar Neto
 
Microservices Part 3 Service Mesh and Kafka
Araf Karsh Hamid
 
Elasticsearch
Divij Sehgal
 
ELK Elasticsearch Logstash and Kibana Stack for Log Management
El Mahdi Benzekri
 
DevSecOps in the Cloud from the Lens of a Well-Architected Framework.pptx
Turja Narayan Chaudhuri
 
Introduction to Elasticsearch
Ismaeel Enjreny
 
Intro to Azure Service Bus
George Grammatikos
 
Introducing Kogito
Red Hat Developers
 
Airflow for Beginners
Varya Karpenko
 
Kafka Streams vs. KSQL for Stream Processing on top of Apache Kafka
Kai Wähner
 
Cloud Monitoring with Prometheus
QAware GmbH
 
Kafka 101
Aparna Pillai
 
Migrating Apache Spark ML Jobs to Spark + Tensorflow on Kubeflow
Databricks
 
Operator SDK for K8s using Go
CloudOps2005
 
What is the State of my Kafka Streams Application? Unleashing Metrics. | Neil...
HostedbyConfluent
 
Introduction to Kafka and Zookeeper
Rahul Jain
 
Monitoring with Prometheus
Shiao-An Yuan
 

Similar to Event driven workloads on Kubernetes with KEDA (20)

PDF
Distributed Event Driven Systems with KEDA.pdf
Nilesh Gule
 
PDF
Autoscaling containers with event driven workloads
Nilesh Gule
 
PDF
Scaling .net containers with event driven workloads
Nilesh Gule
 
PDF
Event Driven Autoscaling using KEDA - MVP
Nilesh Gule
 
PDF
Serverless Event Driven Containers with KEDA
Nilesh Gule
 
PDF
Autoscale applications based on external events with KEDA.pdf
Nilesh Gule
 
PDF
Scaling containers with KEDA
Nilesh Gule
 
PPTX
Autoscaling with Kubernetes
Johannes Würbach
 
PDF
KEDA.pdf
Vishwas N
 
PDF
Cncf event driven autoscaling with keda
JurajHantk
 
TXT
Introduction about Kubernates Cluster
♛Kumar Aneesh♛
 
PPTX
Microsoft Partners - Application Autoscaling Made Easy With Kubernetes Event-...
Tom Kerkhove
 
PDF
WeCodeFest: kubernetes and google container engine codelab
Laura Morillo-Velarde Rodríguez
 
PPTX
Kubernetes fundamentals
Victor Morales
 
PPTX
NDC London 2021 - Application Autoscaling Made Easy With Kubernetes Event-Dri...
Tom Kerkhove
 
PDF
Deploying kubernetes at scale on OpenStack
Victor Palma
 
PDF
Google Kubernetes Engine Deep Dive Meetup
Iftach Schonbaum
 
PDF
Nugwc k8s session-16-march-2021
Avanti Patil
 
PDF
Kubernetes Architecture with Components
Ajeet Singh
 
PDF
Kubernetes automation in production
Paul Bakker
 
Distributed Event Driven Systems with KEDA.pdf
Nilesh Gule
 
Autoscaling containers with event driven workloads
Nilesh Gule
 
Scaling .net containers with event driven workloads
Nilesh Gule
 
Event Driven Autoscaling using KEDA - MVP
Nilesh Gule
 
Serverless Event Driven Containers with KEDA
Nilesh Gule
 
Autoscale applications based on external events with KEDA.pdf
Nilesh Gule
 
Scaling containers with KEDA
Nilesh Gule
 
Autoscaling with Kubernetes
Johannes Würbach
 
KEDA.pdf
Vishwas N
 
Cncf event driven autoscaling with keda
JurajHantk
 
Introduction about Kubernates Cluster
♛Kumar Aneesh♛
 
Microsoft Partners - Application Autoscaling Made Easy With Kubernetes Event-...
Tom Kerkhove
 
WeCodeFest: kubernetes and google container engine codelab
Laura Morillo-Velarde Rodríguez
 
Kubernetes fundamentals
Victor Morales
 
NDC London 2021 - Application Autoscaling Made Easy With Kubernetes Event-Dri...
Tom Kerkhove
 
Deploying kubernetes at scale on OpenStack
Victor Palma
 
Google Kubernetes Engine Deep Dive Meetup
Iftach Schonbaum
 
Nugwc k8s session-16-march-2021
Avanti Patil
 
Kubernetes Architecture with Components
Ajeet Singh
 
Kubernetes automation in production
Paul Bakker
 
Ad

More from Nilesh Gule (20)

PDF
API Management in the AI Era - Azure Singapore.pdf
Nilesh Gule
 
PDF
Infuse Intelligence Into your App with Foundry Local.pdf
Nilesh Gule
 
PDF
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
 
PDF
API Management in the AI Era session GAB Melbourne
Nilesh Gule
 
PDF
GitHub Copilot Agent Mode - Azure Builders Melbourne
Nilesh Gule
 
PDF
Festive Tech Calendar -2024 Supercharge Kubernetes Debugging with k8sGPT.pdf
Nilesh Gule
 
PDF
Code Creativity and Customers- Navigating the Generative AI Landscape - Austr...
Nilesh Gule
 
PDF
Supercharge Kubernetes Debugging with k8sGPT.pdf
Nilesh Gule
 
PDF
Portable Multi-cloud Applications with Dapr.pdf
Nilesh Gule
 
PDF
k8sug Melbourne - Improve Kubernetes with k8sGPT
Nilesh Gule
 
PDF
Code Creativity and Customers- Navigating the Generative AI Landscape.pdf
Nilesh Gule
 
PDF
Improve Monitoring And Observability for Kubernetes with OSS tools.pdf
Nilesh Gule
 
PDF
Modular Architecturs for Resilience and Adaptability.pdf
Nilesh Gule
 
PDF
Singapore JUG - Open Telemetry.pdf
Nilesh Gule
 
PDF
Cloud Native Ninja - Getting Started with Kubernetes - Part 9.pdf
Nilesh Gule
 
PDF
Build Secure Portable Applications using AKS and its ecosystem
Nilesh Gule
 
PDF
Cloud Native Ninja - PT8 - Containerize React app.pdf
Nilesh Gule
 
PDF
Cloud Native Ninja - PT8 - Containerize React app.pdf
Nilesh Gule
 
PDF
Modular Architecturs for resilience and Adaptability.pdf
Nilesh Gule
 
PDF
Modular Architecturs for resilience and Adaptability.pdf
Nilesh Gule
 
API Management in the AI Era - Azure Singapore.pdf
Nilesh Gule
 
Infuse Intelligence Into your App with Foundry Local.pdf
Nilesh Gule
 
Enhance GitHub Copilot using MCP - Enterprise version.pdf
Nilesh Gule
 
API Management in the AI Era session GAB Melbourne
Nilesh Gule
 
GitHub Copilot Agent Mode - Azure Builders Melbourne
Nilesh Gule
 
Festive Tech Calendar -2024 Supercharge Kubernetes Debugging with k8sGPT.pdf
Nilesh Gule
 
Code Creativity and Customers- Navigating the Generative AI Landscape - Austr...
Nilesh Gule
 
Supercharge Kubernetes Debugging with k8sGPT.pdf
Nilesh Gule
 
Portable Multi-cloud Applications with Dapr.pdf
Nilesh Gule
 
k8sug Melbourne - Improve Kubernetes with k8sGPT
Nilesh Gule
 
Code Creativity and Customers- Navigating the Generative AI Landscape.pdf
Nilesh Gule
 
Improve Monitoring And Observability for Kubernetes with OSS tools.pdf
Nilesh Gule
 
Modular Architecturs for Resilience and Adaptability.pdf
Nilesh Gule
 
Singapore JUG - Open Telemetry.pdf
Nilesh Gule
 
Cloud Native Ninja - Getting Started with Kubernetes - Part 9.pdf
Nilesh Gule
 
Build Secure Portable Applications using AKS and its ecosystem
Nilesh Gule
 
Cloud Native Ninja - PT8 - Containerize React app.pdf
Nilesh Gule
 
Cloud Native Ninja - PT8 - Containerize React app.pdf
Nilesh Gule
 
Modular Architecturs for resilience and Adaptability.pdf
Nilesh Gule
 
Modular Architecturs for resilience and Adaptability.pdf
Nilesh Gule
 
Ad

Recently uploaded (20)

PDF
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
PDF
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
PDF
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
PPTX
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
PDF
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
PDF
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
PDF
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
PPTX
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
PDF
Blockchain Transactions Explained For Everyone
CIFDAQ
 
PDF
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
PDF
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
PDF
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
PDF
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
PPTX
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
PDF
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
PDF
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
PDF
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
PDF
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
PDF
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
PPTX
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 
Bitcoin for Millennials podcast with Bram, Power Laws of Bitcoin
Stephen Perrenod
 
Transcript: New from BookNet Canada for 2025: BNC BiblioShare - Tech Forum 2025
BookNet Canada
 
POV_ Why Enterprises Need to Find Value in ZERO.pdf
darshakparmar
 
AUTOMATION AND ROBOTICS IN PHARMA INDUSTRY.pptx
sameeraaabegumm
 
Chris Elwell Woburn, MA - Passionate About IT Innovation
Chris Elwell Woburn, MA
 
Newgen Beyond Frankenstein_Build vs Buy_Digital_version.pdf
darshakparmar
 
The Rise of AI and IoT in Mobile App Tech.pdf
IMG Global Infotech
 
OpenID AuthZEN - Analyst Briefing July 2025
David Brossard
 
Blockchain Transactions Explained For Everyone
CIFDAQ
 
DevBcn - Building 10x Organizations Using Modern Productivity Metrics
Justin Reock
 
[Newgen] NewgenONE Marvin Brochure 1.pdf
darshakparmar
 
HCIP-Data Center Facility Deployment V2.0 Training Material (Without Remarks ...
mcastillo49
 
Presentation - Vibe Coding The Future of Tech
yanuarsinggih1
 
COMPARISON OF RASTER ANALYSIS TOOLS OF QGIS AND ARCGIS
Sharanya Sarkar
 
Fl Studio 24.2.2 Build 4597 Crack for Windows Free Download 2025
faizk77g
 
Achieving Consistent and Reliable AI Code Generation - Medusa AI
medusaaico
 
Mastering Financial Management in Direct Selling
Epixel MLM Software
 
From Code to Challenge: Crafting Skill-Based Games That Engage and Reward
aiyshauae
 
Exolore The Essential AI Tools in 2025.pdf
Srinivasan M
 
From Sci-Fi to Reality: Exploring AI Evolution
Svetlana Meissner
 

Event driven workloads on Kubernetes with KEDA

  • 1. Nilesh Gule @nileshgule | www.HandsOnArchitect.com Event Driven Workloads on Kubernetes with
  • 2. $whoami { “name” : “Nilesh Gule”, “website” : “https://www.HandsOnArchitect.com", “github” : “https://GitHub.com/NileshGule" “twitter” : “@nileshgule”, “linkedin” : “https://www.linkedin.com/in/nileshgule”, “likes” : “Technical Evangelism, Cricket”, “co-organizer” : “Azure Singapore UG” }
  • 4. @nileshgule KEDA Kubernets based Event Driven Autoscaling Scaling in Kubernetes KEDA Overview TechTalks demo with RabbitMQ Autoscaling with KEDA KEDA Architecture Agenda
  • 5. Pre-requisites • Self contained application with all its dependencies Docker • Orchestrates containers • Self healing • Service discovery • Scaling Kubernetes • Dockerhub / private container registry • Repository for storing container images Container Registry • Managed Kubernetes service on Azure • Native integration with other Azure services like Azure Active Directory (AAD), Azure Container registry (ACR), Azure Container Instances (ACI), Azure Monitor etc. Azure Kubernetes Service (AKS)
  • 6. @nileshgule Kubernetes Scaling Options 1 2 3 Horizontal Pod Autoscaler Cluster Autoscaler Manual scaling
  • 9. @nileshgule Demo setup 1000 (configurable) messages Batch of 50 (configurable) messages https://github.com/NileshGule/pd-tech-fest-2019
  • 10. @nileshgule TechTalks Demo – Kubernetes deployment https://github.com/NileshGule/pd-tech-fest-2019  Manifest files describe Deployment and Service  Helm charts to deploy third-party apps / services  Octant – visualize k8s cluster  Kubectl to deploy Manifest  Postman to generate workload
  • 13. apiVersion: keda.k8s.io/v1alpha1 kind: ScaledObject metadata: name: rabbitmq-consumer namespace: default labels: deploymentName: rabbitmq-consumer-deployment spec: scaleTargetRef: deploymentName: rabbitmq-consumer pollingInterval: 5 # Optional. Default: 30 seconds cooldownPeriod: 30 # Optional. Default: 300 seconds minReplicaCount: 1 # Optional. Default: 0 maxReplicaCount: 30 # Optional. Default: 100 triggers: - type: rabbitmq metadata: queueName: hello queueLength : ‘5’ authenticationRef: name: trigger-auth-rabbitmq-host
  • 15. Azure Blob Storage Azure Event Hub Azure Log Analytics Azure Service Bus Queues and Topics Azure Storage Queues ActiveMQ Artemis Kafka Prometheus RabbitMQ Redis Streams Redis Lists Liiklus NATS Huawei Cloudeye AWS CloudWatch AWS Kinesis Stream AWS Simple Queue Service GCP PubSub Azure functions MySQL PostgreSQL https://keda.sh/docs/2.0/scalers/
  • 16. Summary • Single purpose lightweight component • Any Kubernetes cluster (1.16+) • Extends Kubernetes with event driven capabilities • No overwriting or duplication of existing functionalities • Maps an event source to Deployment, StatefulSet, Custom Resource or Job for scaling • Flexible and safe to run alongside any other Kubernetes framework or application • Support 35+ auto scalers out of the box KEDA
  • 17. Play with Docker Play with Kubernetes Linux Academy learning paths
  • 18. KEDA AKS cluster-autoscalar Horizontal pod autoscale https://azure.microsoft.com/mediahandler/files/resourcefiles/kubernetes-learning- path/Kubernetes%20Learning%20Path%20version%201.0.pdf
  • 22. Thank you very much Code with Passion and Strive for Excellence https://www.slideshare.net/nileshgule/presentations https://speakerdeck.com/nileshgule/
  • 23. Nilesh Gule ARCHITECT | MICROSOFT MVP “Code with Passion and Strive for Excellence” nileshgule @nileshgule Nilesh Gule NileshGule www.handsonarchitect.com
  • 24. Q&A