Ask Your Question
1

What are the steps to utilize Keda Scaledobjects to deploy Azure functions on AKS?

asked 2022-07-12 11:00:00 +0000

qstack gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2021-05-31 15:00:00 +0000

bukephalos gravatar image

Here are the steps to utilize Keda Scaledobjects to deploy Azure functions on AKS:

  1. Setup AKS Cluster: Before you can deploy Azure functions, you need to set up an AKS cluster. You can use the Azure portal or the Azure CLI to create a cluster.

  2. Install Keda: The first step is to install Keda on your AKS cluster. You can use Helm to install Keda on your cluster.

  3. Create Azure Function App: You can create an Azure Function App through the Azure portal.

  4. Create ScaledObject: The next step is to create a ScaledObject that specifies the scale rules for the Function App. The ScaledObject should define the minimum and maximum number of replicas and the metric based on which the scaling should happen.

  5. Deploy ScaledObject: You can deploy the ScaledObject using kubectl apply command.

  6. Test Scaling: Finally, you can test if the scaling is working by sending requests to the Azure Function App and monitoring the number of replicas created by Keda.

With the above steps, you can utilize Keda Scaledobjects to deploy Azure functions on AKS.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-07-12 11:00:00 +0000

Seen: 10 times

Last updated: May 31 '21