keda | based Event Driven Autoscaling component | Serverless library

 by   kedacore Go Version: v2.10.1 License: Apache-2.0

kandi X-RAY | keda Summary

kandi X-RAY | keda Summary

keda is a Go library typically used in Serverless applications. keda has no bugs, it has no vulnerabilities, it has a Permissive License and it has medium support. You can download it from GitHub.

There are many ways to deploy KEDA including Helm, Operator Hub and YAML files.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              keda has a medium active ecosystem.
              It has 6464 star(s) with 822 fork(s). There are 94 watchers for this library.
              There were 1 major release(s) in the last 12 months.
              There are 192 open issues and 1520 have been closed. On average issues are closed in 63 days. There are 25 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of keda is v2.10.1

            kandi-Quality Quality

              keda has 0 bugs and 0 code smells.

            kandi-Security Security

              keda has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              keda code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              keda is licensed under the Apache-2.0 License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              keda releases are available to install and integrate.
              Installation instructions are available. Examples and code snippets are not available.
              It has 47389 lines of code, 1752 functions and 254 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi's functional review helps you automatically verify the functionalities of the libraries and avoid rework.
            Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of keda
            Get all kandi verified functions for this library.

            keda Key Features

            No Key Features are available at this moment for keda.

            keda Examples and Code Snippets

            No Code Snippets are available at this moment for keda.

            Community Discussions

            QUESTION

            EKS Pods being terminated for no reason
            Asked 2022-Feb-15 at 23:42

            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:08

            I 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).

            Source https://stackoverflow.com/questions/71039790

            QUESTION

            KEDA scaler not working on AKS with trigger authentication using pod identity
            Asked 2022-Jan-24 at 15:55

            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:07

            Unfortunately this looks like an issue with the identity itself and with AD Pod identities, they can be a bit flaky (based on my experiences)

            Source https://stackoverflow.com/questions/69517746

            QUESTION

            How to configure KEDA to create container on basis of metadata in Azure Service Bus Trigger
            Asked 2022-Jan-17 at 19:13

            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:31

            KEDA is a scaler, not a resource provisioner. KEDA allows scaling based on the metrics provided by the already provisioned resources.

            Source https://stackoverflow.com/questions/70565070

            QUESTION

            KEDA - no pods are scaling
            Asked 2021-Dec-29 at 14:44

            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:44

            QUESTION

            Keda AzureMonitor trigger giving no activeDirectoryClientId given error
            Asked 2021-Aug-17 at 06:01

            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:01

            Did you include the trigger authentication code? if not you need to include trigger authentication code in scaled object please check this reference

            Source https://stackoverflow.com/questions/68640227

            QUESTION

            Message count is not zero even after all messages are consumed and acknowledged
            Asked 2021-Aug-14 at 11:05

            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:05

            I 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.

            Source https://stackoverflow.com/questions/68712010

            QUESTION

            airflow error "dag_id could not be found" when running airflow on KubernetesExecutor
            Asked 2021-Mar-11 at 22:34

            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:51

            I think I found a root cause of this issue. In airflow helm chart I see this code:

            Source https://stackoverflow.com/questions/65727196

            QUESTION

            How to deploy airflow via Helm on Kubernetes while using a custom image?
            Asked 2020-Dec-10 at 18:42

            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:42

            The 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:

            Source https://stackoverflow.com/questions/65232597

            QUESTION

            no matches for kind "ScaledJob" in version "keda.sh/v1alpha1"
            Asked 2020-Nov-12 at 09:09

            I am trying to deploy Scaledjob of KEDA in AKS. Am getting the below error.

            ...

            ANSWER

            Answered 2020-Nov-12 at 09:09

            I 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.

            Source https://stackoverflow.com/questions/64040053

            QUESTION

            Azure Durable Function HttpStart failure: Webhooks are not configured
            Asked 2020-Oct-17 at 15:28

            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:28

            Try 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.

            Source https://stackoverflow.com/questions/64400695

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install keda

            You can find several samples for various event sources here.
            QuickStart - RabbitMQ and Go
            QuickStart - Azure Functions and Queues
            QuickStart - Azure Functions and Kafka on Openshift 4
            QuickStart - Azure Storage Queue with ScaledJob

            Support

            Interested to learn more? Head over to keda.sh.
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries

            Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Explore Related Topics

            Consider Popular Serverless Libraries

            Try Top Libraries by kedacore

            http-add-on

            by kedacoreGo

            keda-docs

            by kedacoreHTML

            sample-go-rabbitmq

            by kedacoreGo

            keda-olm-operator

            by kedacoreGo