top of page

How to Install KEDA with Azure Cloud Shell: A Step-by-Step Guide

  • Writer: Rajamohan Rajendran
    Rajamohan Rajendran
  • Feb 21
  • 2 min read



Hey there, cloud enthusiasts! 🌥️ Ready to dive into scaling your Kubernetes apps dynamically? Let’s get KEDA (Kubernetes Event-driven Autoscaling) up and running in Azure Cloud Shell in just a few simple steps. No need to stress — I've got your back!


Step 1: Check Helm Installation

Before jumping in, let’s make sure Helm is ready to go. If you’re in Azure Cloud Shell, it’s usually pre-installed. But if you find it’s not, just run this one-liner to get it set up:


curl https://raw.githubusercontent.com/helm/helm/master/scripts/get-helm-3 | bash


Step 2: Add the KEDA Helm Chart Repository

Next, we need to add the KEDA Helm chart repository. This step makes sure you get the latest goodies:


helm repo add kedacore https://kedacore.github.io/charts


Now, let’s update our Helm repositories so we have the freshest information:


helm repo update


Step 3: Install KEDA

Now it’s the moment of truth! Time to install KEDA. You’ve got two choices here:

Option A: Install the Latest Version

Just run:


helm install keda kedacore/keda

Option B: Install a Specific Version


If you’re feeling nostalgic and want a specific version, do it like this (just swap out <version> with your desired version number):

helm install keda kedacore/keda --version <version>


Step 4: Verify the Installation

Last but not least, let’s check if our KEDA pods are running smoothly. Make sure to replace <namespace> with where you installed KEDA (default is usually keda):


kubectl get pods -n <namespace>

If everything went well, you should see KEDA-related pods chugging along!


Wrapping It Up

And there you have it! In just a few steps, you’ve successfully installed KEDA using Azure Cloud Shell. Now you can enjoy the sweet taste of event-driven scaling. If you hit any bumps along the way, don’t hesitate to ask for help in the community. Happy scaling!

Kommentarer


bottom of page