keda | based Event Driven Autoscaling component | Serverless library
kandi X-RAY | keda Summary
kandi X-RAY | keda Summary
There are many ways to deploy KEDA including Helm, Operator Hub and YAML files.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of keda
keda Key Features
keda Examples and Code Snippets
Community Discussions
Trending Discussions on keda
QUESTION
I wonder if someone can help me.
Kubernetes (K8s 1.21 platform eks.4) is Terminating running pods without error or reason. The only thing I can see in the events is:
...ANSWER
Answered 2022-Feb-15 at 13:08I also have a similar problem because of HPA's scale-in.
When you don't write the minReplicaCount value, the value is set to 0 as default. Then, the pod is terminated because of the HPA's scale-in.
I recommend you should set the minReplicaCount value that you want (e.g. 1).
QUESTION
KEDA scaler not scales with scaled object defined with trigger using pod identity for authentication for service bus queue.
I'm following this KEDA service bus triggered scaling project.
The scaling works fine with the connection string, but when I try to scale using the pod identity for KEDA scaler the keda operator fails to get the azure identity bound to it with the following keda operator error message log:
ANSWER
Answered 2021-Oct-13 at 07:07Unfortunately this looks like an issue with the identity itself and with AD Pod identities, they can be a bit flaky (based on my experiences)
QUESTION
So, I have a Service Bus Queue which is handling two types of messages, for one type of message I want to trigger KEDA however want to restrict KEDA to not instantiate container for other type of message. I can attach properties to the service bus message if that's anyhow it is possible.
I referred https://keda.sh/docs/2.5/scalers/azure-service-bus/ but couldn't find something that's helpful.
Please help if there's a way to do so.
...ANSWER
Answered 2022-Jan-03 at 20:31KEDA is a scaler, not a resource provisioner. KEDA allows scaling based on the metrics provided by the already provisioned resources.
QUESTION
I am trying to create a KEDA scaled job based on RabbitMQ queue trigger but encountered an issue when pods are not scaling at all.
I have created a following Scaled job and lined up messages in the queue but no pods are created. I see this message: Scaling is not performed because triggers are not active
What could be reason that pods are not scaling at all? Thanks for help.
And in Keda logs I see:
...ANSWER
Answered 2021-Dec-29 at 14:44mode may not work in some cases.
Try changing
QUESTION
I was trying to configure Azure Monitor Scaler for keda autoscaling. In my scaled object I have specified the Clientid and password for the application. In the Azure portal as well, I can see the clientid , password and tenantid . But after deploying the scaledobject , I'm getting error on keda operator like no activeDirectoryClientId given. I don't know what went wrong. Can anyone please help me here?
Below is keda-operator logs:
...ANSWER
Answered 2021-Aug-17 at 06:01Did you include the trigger authentication code? if not you need to include trigger authentication code in scaled object please check this reference
QUESTION
We have containerized ActiveMQ Artemis 2.16.0 and deployed it as a K8s deployment for KEDA.
We use STOMP using stomp.py python module. The ACK-mode is set as client-individual
and consumerWindowSize
= 0 on the connection. We are promptly acknowledging the message as soon as we read it.
The problem is, sometimes, the message count in the web console does not become zero even after all the messages are actually consumed and acknowledged. When I browse the queue, I don't see any messages in it. This is causing KEDA to spin up pods unnecessarily. Please refer to the attached screenshots I attached in the JIRA for this issue.
...ANSWER
Answered 2021-Aug-14 at 11:05I fixed the issue in my application code. My requirement was one queue listener should consume only one message and exit gracefully. So, soon after sending ACK for the consumed message, I disconnected the connection, instead of waiting for the sleep duration to disconnect.
Thanks, Justin, for spending time on this.
QUESTION
I am using this helm chart to deploy airflow https://github.com/apache/airflow/tree/master/chart
Apache Airflow version: 2.0.0
Kubernetes version: v1.19.4
What happened: I get this error when try to execute tasks using kubernetes
...ANSWER
Answered 2021-Mar-11 at 17:51I think I found a root cause of this issue. In airflow helm chart I see this code:
QUESTION
My objective is to be able to deploy airflow on Kubernetes using a custom image (placed in ECR. The reason I want to use this custom Image is because I want to deploy another tool (dbt) with airflow in the same container (also open for other suggestions there)
What actually worked: I have managed to use this Helm chart (which uses the following image as default) to deploy
What I tried to do and did not work:
I wanted to now exchange the default image with my custom image in ECR, so I created values.yaml
, that contains:
ANSWER
Answered 2020-Dec-10 at 18:42The original image seems to have "dumb-init" binary in, so it should work. However, if you use "imagePullPolicy: IfNotPresent" then Kubernetes might cache the image and even if you re-upload a new image to ECR it might not be pulled (though I believe for latest it should be, unless some custom configuration of the Kubernetes is in place.
See https://kubernetes.io/docs/concepts/containers/images/#updating-images
You can always run the image and check it's content locally. The official Docker image of Airflow has support for bash
command:
QUESTION
I am trying to deploy Scaledjob of KEDA in AKS. Am getting the below error.
...ANSWER
Answered 2020-Nov-12 at 09:09I uninstalled the KEDA and installed the latest beta version of the helm. It started working fine. The KEDA, I installed was a stable version, you need to check first whether the scaledjobs.keda.sh exists.
QUESTION
I have deployed Azure Durable Http Triggered Function app in Azure Kubernetes Service. I used Visual Studio Code to create the function app. I have followed instructions from this this article and Microsoft official documentation.
...ANSWER
Answered 2020-Oct-17 at 15:28Try adding a WEBSITE_HOSTNAME
environment variable with :
as the value, where :
refers to the address that can be used to reach your function app from outside.
This error happens when you use an API that depends on this environment variable. When running using the local core tools, this value is set to localhost:7071
automatically. When running in the Azure Functions hosted service, this environment variable is also pre-configured to be the DNS name of the function app (e.g. myfunctionapp.azurewebsites.net
. For other environments, like AKS, you'll need to add this environment variable explicitly and set it to the correct value for your deployment.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install keda
QuickStart - RabbitMQ and Go
QuickStart - Azure Functions and Queues
QuickStart - Azure Functions and Kafka on Openshift 4
QuickStart - Azure Storage Queue with ScaledJob
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page