DataDog scaler creates pods but with Terminating status #5996
Replies: 5 comments 6 replies
-
Hello @raviumishra. The Datadog scaler or KEDA do not scale the object, HPA does. If a pod is Terminating, is something transitional. A pod will either be created and running, or teminated (if the value is below your target, as it seems it is). |
Beta Was this translation helpful? Give feedback.
-
Hello! KEDA nor Datadog Scaler perform the actual creation of the pods, the ReplicaSet controller does. to debug this, I would recommend you to |
Beta Was this translation helpful? Give feedback.
-
Can you also describe the HPA object? |
Beta Was this translation helpful? Give feedback.
-
Can you ensure the screenshots show all events? Also, it would be useful to describe the Deployment object as well. |
Beta Was this translation helpful? Give feedback.
-
Without having access to your environment it is going to be difficult for me to know what's going on. This requires live debugging. Either KEDA is scaling up and down, or something else. Without access to your logs, I am afraid I am not able to help |
Beta Was this translation helpful? Give feedback.
-
`apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: datadog-scaledobject
namespace: dev-keda-test-ns
spec:
scaleTargetRef:
name: keda-test
minReplicaCount: 1
maxReplicaCount: 3
triggers:
metadata:
query: "sum:nginx.net.request_per_s{*}"
queryValue: "36"
authenticationRef:
name: datadog-trigger-auth
`
this scales KEDA but pods are spun with Terminating status
Beta Was this translation helpful? Give feedback.
All reactions