SlideShare a Scribd company logo
Auto-Scaling containers with
Nilesh Gule
@nileshgule | www.HandsOnArchitect.com
Big Thanks to Sponsors
$whoami
{
“name” : “Nilesh Gule”,
“website” : “https://www.HandsOnArchitect.com",
“github” : “https://github.com/NileshGule"
“twitter” : “@nileshgule”,
“linkedin” : “https://www.linkedin.com/in/nileshgule”,
“email” : “nileshgule@gmail.com",
“likes” : “Technical Evangelism, Cricket”
}
Scaling containers with KEDA
Scaling containers with KEDA
Scaling containers with KEDA
Scale k8s objects:
Kubectl scale –replicas=3 processor-deployment.yml
Kubectl scale –replicas=3 deployment/rabbitmq-consumer
Scale AKS cluster:
az aks scale --resource-group myResourceGroup 
--name myAKSCluster 
--node-count 1 
--nodepool-name <your node pool name>
kubectl autoscale deployment php-apache 
--cpu-percent=50 
--min=1 
--max=10
az feature register --name VMSSPreview --
namespace Microsoft.ContainerService
az aks create 
--resource-group myResourceGroup 
--name myAKSCluster 
--node-count 1 
--enable-vmss 
--enable-cluster-autoscaler 
--min-count 1 
--max-count 3
Scaling containers with KEDA
Scaling containers with KEDA
Kubernetes-based Event Driven
Autoscaling
Scaling containers with KEDA
Scaling containers with KEDA
Scaling containers with KEDA
Demo Autoscaling RabbitMQ
https://github.com/NileshGule/AKS-learning-series
Scaling containers with KEDA
apiVersion: keda.k8s.io/v1alpha1
kind: ScaledObject
metadata:
name: rabbitmq-consumer
namespace: default
labels:
deploymentName: rabbitmq-consumer
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
host: 'amqp://user:PASSWORD@rabbitmq.default.svc.cluster.local:5672’
queueLength : '5'
AKS cluster-autoscalar
Virtual Node
Horizontal pod autoscale
virtual kubelet
KEDA
Scaling containers with KEDA
Scaling containers with KEDA
Thank you very much
Code with Passion and Strive for Excellence
https://github.com/NileshGule/AKS-learning-series
https://github.com/NileshGule/pd-tech-fest-2019
https://www.slideshare.net/nileshgule/presentations
https://speakerdeck.com/nileshgule/
Q&A

More Related Content

What's hot (20)

PDF
Grafana Loki: like Prometheus, but for Logs
Marco Pracucci
 
PDF
Kubernetes security
Thomas Fricke
 
PDF
Event driven autoscaling with KEDA
Nilesh Gule
 
PPTX
01. Kubernetes-PPT.pptx
TamalBanerjee16
 
PDF
stupid-simple-kubernetes-final.pdf
DaniloQueirozMota
 
PDF
Atomicity In Redis: Thomas Hunter
Redis Labs
 
PPTX
Introduction to Helm
Harshal Shah
 
PDF
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Sunnyvale
 
PDF
Autoscaling Kubernetes
craigbox
 
PDF
An intro to Kubernetes operators
J On The Beach
 
PPTX
KEDA Overview
Jeff Hollan
 
PDF
CD using ArgoCD(KnolX).pdf
Knoldus Inc.
 
PDF
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Edureka!
 
PDF
Helm - Application deployment management for Kubernetes
Alexei Ledenev
 
PDF
Introduction to Kubernetes and Google Container Engine (GKE)
Opsta
 
PPTX
Azure vidyapeeth -Introduction to Azure Container Service & Registry Service
Ilyas F ☁☁☁
 
PPTX
OVN - Basics and deep dive
Trinath Somanchi
 
PDF
Improve Monitoring and Observability for Kubernetes with OSS tools
Nilesh Gule
 
PDF
GitOps and ArgoCD
Omar Fathy
 
PDF
Cloud Native Landscape (CNCF and OCI)
Chris Aniszczyk
 
Grafana Loki: like Prometheus, but for Logs
Marco Pracucci
 
Kubernetes security
Thomas Fricke
 
Event driven autoscaling with KEDA
Nilesh Gule
 
01. Kubernetes-PPT.pptx
TamalBanerjee16
 
stupid-simple-kubernetes-final.pdf
DaniloQueirozMota
 
Atomicity In Redis: Thomas Hunter
Redis Labs
 
Introduction to Helm
Harshal Shah
 
Kubernetes GitOps featuring GitHub, Kustomize and ArgoCD
Sunnyvale
 
Autoscaling Kubernetes
craigbox
 
An intro to Kubernetes operators
J On The Beach
 
KEDA Overview
Jeff Hollan
 
CD using ArgoCD(KnolX).pdf
Knoldus Inc.
 
Kubernetes Architecture | Understanding Kubernetes Components | Kubernetes Tu...
Edureka!
 
Helm - Application deployment management for Kubernetes
Alexei Ledenev
 
Introduction to Kubernetes and Google Container Engine (GKE)
Opsta
 
Azure vidyapeeth -Introduction to Azure Container Service & Registry Service
Ilyas F ☁☁☁
 
OVN - Basics and deep dive
Trinath Somanchi
 
Improve Monitoring and Observability for Kubernetes with OSS tools
Nilesh Gule
 
GitOps and ArgoCD
Omar Fathy
 
Cloud Native Landscape (CNCF and OCI)
Chris Aniszczyk
 

Similar to Scaling containers with KEDA (20)

PDF
Azure kubernetes service (aks) part 3
Nilesh Gule
 
PDF
Serverless Event Driven Containers with KEDA
Nilesh Gule
 
PDF
CI CD with Docker and Kubernetes
Nilesh Gule
 
PDF
Azure kubernetes service (aks) part 4 - Deploy multi-container app to AKS c...
Nilesh Gule
 
PDF
Event driven workloads on Kubernetes with KEDA
Nilesh Gule
 
PDF
Debug and Monitor Multi-container Apps on AKS
Nilesh Gule
 
PDF
Distributed Event Driven Systems with KEDA.pdf
Nilesh Gule
 
PDF
Azure containers fundamentals
Nilesh Gule
 
PDF
Event Driven Autoscaling using KEDA - MVP
Nilesh Gule
 
PDF
Run Containerized Database SQL Server 2017 Linux
Nilesh Gule
 
PDF
Big data for dot net Devs with Spark
Nilesh Gule
 
PDF
Autoscaling containers with event driven workloads
Nilesh Gule
 
PDF
Autoscale applications based on external events with KEDA.pdf
Nilesh Gule
 
PDF
k8sug Melbourne - Improve Kubernetes with k8sGPT
Nilesh Gule
 
PDF
Scaling .net containers with event driven workloads
Nilesh Gule
 
PDF
Build Secure Portable Applications using AKS and its ecosystem
Nilesh Gule
 
PDF
Auto Scaling Groups
Peter Sankauskas
 
PDF
Supercharge Kubernetes Debugging with k8sGPT.pdf
Nilesh Gule
 
PDF
Training TensorFlow Models at Scale with Kubernetes on Azure
Rita Zhang
 
PDF
Must Know Azure Kubernetes Best Practices And Features For Better Resiliency ...
CodeOps Technologies LLP
 
Azure kubernetes service (aks) part 3
Nilesh Gule
 
Serverless Event Driven Containers with KEDA
Nilesh Gule
 
CI CD with Docker and Kubernetes
Nilesh Gule
 
Azure kubernetes service (aks) part 4 - Deploy multi-container app to AKS c...
Nilesh Gule
 
Event driven workloads on Kubernetes with KEDA
Nilesh Gule
 
Debug and Monitor Multi-container Apps on AKS
Nilesh Gule
 
Distributed Event Driven Systems with KEDA.pdf
Nilesh Gule
 
Azure containers fundamentals
Nilesh Gule
 
Event Driven Autoscaling using KEDA - MVP
Nilesh Gule
 
Run Containerized Database SQL Server 2017 Linux
Nilesh Gule
 
Big data for dot net Devs with Spark
Nilesh Gule
 
Autoscaling containers with event driven workloads
Nilesh Gule
 
Autoscale applications based on external events with KEDA.pdf
Nilesh Gule
 
k8sug Melbourne - Improve Kubernetes with k8sGPT
Nilesh Gule
 
Scaling .net containers with event driven workloads
Nilesh Gule
 
Build Secure Portable Applications using AKS and its ecosystem
Nilesh Gule
 
Auto Scaling Groups
Peter Sankauskas
 
Supercharge Kubernetes Debugging with k8sGPT.pdf
Nilesh Gule
 
Training TensorFlow Models at Scale with Kubernetes on Azure
Rita Zhang
 
Must Know Azure Kubernetes Best Practices And Features For Better Resiliency ...
CodeOps Technologies LLP
 
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
Portable Multi-cloud Applications with Dapr.pdf
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
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
 
PDF
Cloud Native Ninja - PT7 - Containerize Go apps.pdf
Nilesh Gule
 
PDF
Cloud Native Ninja - PT6 - Containerize Spring Boot apps.pdf
Nilesh Gule
 
PDF
Cloud Native Ninja - PT5 - Publish container images.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
 
Portable Multi-cloud Applications with Dapr.pdf
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
 
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
 
Cloud Native Ninja - PT7 - Containerize Go apps.pdf
Nilesh Gule
 
Cloud Native Ninja - PT6 - Containerize Spring Boot apps.pdf
Nilesh Gule
 
Cloud Native Ninja - PT5 - Publish container images.pdf
Nilesh Gule
 
Ad

Recently uploaded (20)

PDF
How AI in Healthcare Apps Can Help You Enhance Patient Care?
Lilly Gracia
 
PPTX
PCC IT Forum 2025 - Legislative Technology Snapshot
Gareth Oakes
 
PDF
How to get the licensing right for Microsoft Core Infrastructure Server Suite...
Q-Advise
 
PPTX
API DOCUMENTATION | API INTEGRATION PLATFORM
philipnathen82
 
PPTX
ChessBase 18.02 Crack + Serial Key Free Download
cracked shares
 
PPTX
prodad heroglyph crack 2.0.214.2 Full Free Download
cracked shares
 
PPTX
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
PDF
custom development enhancement | Togglenow.pdf
aswinisuhu
 
PDF
Windows 10 Professional Preactivated.pdf
asghxhsagxjah
 
PPTX
Smart Doctor Appointment Booking option in odoo.pptx
AxisTechnolabs
 
PPTX
Transforming Lending with IntelliGrow – Advanced Loan Software Solutions
Intelli grow
 
PDF
Simplify React app login with asgardeo-sdk
vaibhav289687
 
PPTX
Transforming Insights: How Generative AI is Revolutionizing Data Analytics
LetsAI Solutions
 
PDF
Code and No-Code Journeys: The Maintenance Shortcut
Applitools
 
PPTX
Build a Custom Agent for Agentic Testing.pptx
klpathrudu
 
PDF
AI Software Engineering based on Multi-view Modeling and Engineering Patterns
Hironori Washizaki
 
PDF
ESUG 2025: Pharo 13 and Beyond (Stephane Ducasse)
ESUG
 
PDF
10 Salesforce Consulting Companies in Sydney.pdf
DianApps Technologies
 
PDF
Meet in the Middle: Solving the Low-Latency Challenge for Agentic AI
Alluxio, Inc.
 
PPTX
UI5con_2025_Accessibility_Ever_Evolving_
gerganakremenska1
 
How AI in Healthcare Apps Can Help You Enhance Patient Care?
Lilly Gracia
 
PCC IT Forum 2025 - Legislative Technology Snapshot
Gareth Oakes
 
How to get the licensing right for Microsoft Core Infrastructure Server Suite...
Q-Advise
 
API DOCUMENTATION | API INTEGRATION PLATFORM
philipnathen82
 
ChessBase 18.02 Crack + Serial Key Free Download
cracked shares
 
prodad heroglyph crack 2.0.214.2 Full Free Download
cracked shares
 
iaas vs paas vs saas :choosing your cloud strategy
CloudlayaTechnology
 
custom development enhancement | Togglenow.pdf
aswinisuhu
 
Windows 10 Professional Preactivated.pdf
asghxhsagxjah
 
Smart Doctor Appointment Booking option in odoo.pptx
AxisTechnolabs
 
Transforming Lending with IntelliGrow – Advanced Loan Software Solutions
Intelli grow
 
Simplify React app login with asgardeo-sdk
vaibhav289687
 
Transforming Insights: How Generative AI is Revolutionizing Data Analytics
LetsAI Solutions
 
Code and No-Code Journeys: The Maintenance Shortcut
Applitools
 
Build a Custom Agent for Agentic Testing.pptx
klpathrudu
 
AI Software Engineering based on Multi-view Modeling and Engineering Patterns
Hironori Washizaki
 
ESUG 2025: Pharo 13 and Beyond (Stephane Ducasse)
ESUG
 
10 Salesforce Consulting Companies in Sydney.pdf
DianApps Technologies
 
Meet in the Middle: Solving the Low-Latency Challenge for Agentic AI
Alluxio, Inc.
 
UI5con_2025_Accessibility_Ever_Evolving_
gerganakremenska1
 

Scaling containers with KEDA