Questions tagged [keda]

119 questions
0
votes
0 answers

Azure durable functions on kubernetes

I've been running Azure functions and Azure durable functions on Kubernetes for quite some time now, and each time the whole function app has been running in the same pod. With durable functions you have orchestrators, activity functions and trigger…
smolesen
  • 1,153
  • 3
  • 11
  • 29
0
votes
1 answer

How to use KEDA metrics-api trigger?

Also raised the issue here but not getting any response: https://github.com/kedacore/keda/issues/3669 Trying to use this trigger: https://keda.sh/docs/2.8/scalers/metrics-api/ I'm flexible on how I use it - here was my first attempt: apiVersion:…
Charlie
  • 2,004
  • 6
  • 20
  • 40
0
votes
1 answer

keda: Azure Service bus scaled object not scaling deployment-Scaling is not performed because triggers are not active

Trying to autoscale pod with inbound messages from azure service bus using KEDA. Scaled object defined is apiVersion: keda.sh/v1alpha1 kind: ScaledObject metadata: name: main-router-scaledobject namespace: rehmannazar-camel-dev spec: …
NAZAR REHMAN
  • 179
  • 3
  • 19
0
votes
1 answer

Why isn't Keda's Horizontal Pod Autoscaling (HPA) collecting CPU/Memory metrics in AWS Elastic Kubernetes Service (EKS)?

I ran into this problem and solved it, so this Q&A is here just in case somebody else spent time on sifting through AWS, Keda, and/or Kubernetes' docs trying to deduce this answer My team deployed Keda with the goal of horizontally autoscaling pods…
0
votes
1 answer

KEDA not scaling pods based on RabbitMQ queue length

I'm trying to use KEDA to auto-scale a Celery worker pod based on the current length of a RabbitMQ message queue. The worker runs as expected, however, it is not scaling under load. For reference, I'm using KEDA v2.7.1. Logs from keda-operator…
JSON_Derulo
  • 892
  • 2
  • 14
  • 39
0
votes
1 answer

KEDAScalerFailed : no azure identity found for request clientID

I tried various different methods but not able to access the Azure Storage Queues via PodIdentity. The resource group, client ID already exists. The steps:- kubectl create namespace keda helm install keda kedacore/keda --set…
0
votes
1 answer

Keda ScaledJob kafka-trigger scaling incorrectly

Keda configuration is as below apiVersion: keda.sh/v1alpha1 kind: ScaledJob metadata: name: job-message-consumer spec: jobTargetRef: parallelism: 1 template: spec: containers: - name: {{…
Zaks
  • 668
  • 1
  • 8
  • 30
0
votes
2 answers

EKS Pods being terminated for no reason

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: 7m47s Normal Killing pod/test-job-6c9fn-qbzkb …
Raúl
  • 31
  • 6
0
votes
1 answer

How to restart KEDA

After I edited a scaledjob, how to restart KEDA with the new config? I've tried to scale it down and up, but seems it doesn't impact the settings: kubectl scale deploy -n keda keda-operator --replicas=0 kubectl scale deploy -n keda keda-operator…
0
votes
2 answers

How to configure KEDA to create container on basis of metadata in Azure Service Bus Trigger

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…
0
votes
2 answers

KEDA scaler not working on AKS with trigger authentication using pod identity

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…
iarunpaul
  • 117
  • 2
  • 13
0
votes
1 answer

Keda RabbitMQ - Keda not spawning additional jobs when queue has few messages

I have a Keda Scaledjob configured to spawn 1 job per message having the state 'ready' in RabbitMQ. It has a max replica count set to 70. Observed: When there are many messages in the queue, let's say 300, Keda correctly creates new jobs to reach…
MichelDelpech
  • 853
  • 8
  • 36
0
votes
1 answer

Keda ScaledObject with MSSQL trigger

I'm using keda in my k8s cluster for autoscaling. After deploying my scaled object with MSSQL trigger , I'm getting ready and active status as unknown.. In logs I'm only seeing that it's trying to create a HPA and then nothing happens. I guess the…
Savitha
  • 29
  • 4
0
votes
0 answers

KEDA - RabbitMQ autoscaler is slowing down when reaching few messages

I'm using KEDA autoscaler with RabbitMQ. When I queue 200 messages, KEDA is correctly using my 50 GCP nodes. When it lasts less than 30 message in the queue, KEDA start scaling down, and it's only uses 15 nodes instead of 30... My config: …
MichelDelpech
  • 853
  • 8
  • 36
0
votes
1 answer

MSSQL connection String:

I'm trying to create scaledobject in keda and I'm referring the official keda documentation for this with MSSQL scaler. While configuring connectionstring in this format "Server=example.database.windows.net;Port=1433;Database=AdventureWorks;Persist…