keda
keda copied to clipboard
`kubectl get scaledobject` does not show external triggers
Report
External triggers defined in a ScaledObject do not show up in the output of kubectl get scaledobject
.
ScaledObject triggers:
$ k get so skynet-test-app-exp -o json | jq .spec.triggers
[
{
"metadata": {
"value": "59"
},
"metricType": "Utilization",
"type": "cpu"
},
{
"metadata": {
"peakPods": "1",
"scalerAddress": "app.pod-prescaler-prod.svc.cluster.local:8081",
"unsafeSsl": "true"
},
"type": "external"
}
]
Output of kubectl get scaledobject
only lists the CPU trigger under the Triggers
column
$ k get so skynet-test-app-exp
NAME SCALETARGETKIND SCALETARGETNAME MIN MAX TRIGGERS AUTHENTICATION READY ACTIVE FALLBACK PAUSED AGE
skynet-test-app-exp argoproj.io/v1alpha1.Rollout skynet-test-app-exp 1 3 cpu True True False Unknown 5d17h
Expected Behavior
Output of kubectl get scaledobject
should list all triggers defined on the ScaledObject
Actual Behavior
kubectl get scaledobject
only lists the CPU trigger
Steps to Reproduce the Problem
- Create a
ScaledObject
with 2 triggers - CPU utilization and external trigger - Run
kubectl get scaledobject
on theScaledObject
created in step 1 - See that not all triggers are listed in the output of step 2
Logs from KEDA operator
NA
KEDA Version
2.13.1
Kubernetes Version
1.28
Platform
Google Cloud
Scaler Details
External
Anything else?
No response