[Keda-Datadog Scaler] Error establishing Datadog connection - 403 Forbidden connecting to Datadog API endpoint #6408
Replies: 4 comments
-
@JorTurFer : Your help is much appreciated. |
Beta Was this translation helpful? Give feedback.
-
Team, Looking for help. Your help is much valuable and appreciated |
Beta Was this translation helpful? Give feedback.
-
Hello
using this config, you are giving the same value to both parameters, and IIRC, they are different. @arapulido ? |
Beta Was this translation helpful? Give feedback.
-
@JorTurFer : Thanks for the reply !
apiVersion: keda.sh/v1alpha1
kind: ClusterTriggerAuthentication
metadata:
name: keda-clustertriggerauth
spec:
awsSecretManager:
podIdentity:
provider: aws
region: us-west-2
secrets:
- parameter: apiKey
name: atlas-keda-secret
- parameter: appKey
name: atlas-keda-secret1
apiVersion: keda.sh/v1alpha1
kind: ScaledObject
metadata:
name: accounts-investor-accounts-api
namespace: keda
spec:
scaleTargetRef:
name: accounts-investor-accounts-api
maxReplicaCount: 5
minReplicaCount: 1
pollingInterval: 30
cooldownPeriod: 60
triggers:
- type: datadog
metricType: Value
metadata:
useClusterAgentProxy: "false"
query: avg:kubernetes.cpu.usage.total{kube_namespace:keda, kube_deployment:accounts-investor-accounts-api}
queryValue: "2000000"
activationQueryValue: "1000000"
authenticationRef:
name: keda-clustertriggerauth
kind: ClusterTriggerAuthentication Tested all the following combinations
|
Beta Was this translation helpful? Give feedback.
-
Report
Encountering "Error establishing Datadog connection - 403 Forbidden connecting to Datadog API endpoint".
We have summarized the issue with details as much as possible here to your convenience.
KBs used for implementation
https://keda.sh/docs/2.16/scalers/datadog/
https://keda.sh/docs/2.16/concepts/authentication/
https://keda.sh/docs/2.16/authentication-providers/aws-secret-manager/
Expected Behavior
Keda Datadog scaler to be activated
Actual Behavior
"error establishing Datadog connection: error connecting to Datadog API endpoint: 403 Forbidden"
Steps to reproduce the problem
Logs from KEDA operator
Enabled Debug mode at keda operator
KEDA version
2.16.0
Kubernetes Version
1.30.0
Platform
AWS EKS
Scaler Details
Datadog
cURL check
We could successfully cURL the DD API endpoint from my local machine
Config used
ClusterTriggerAuthentication
ScaledObject
Anything else ?
Beta Was this translation helpful? Give feedback.
All reactions