Add an alert on Scaledobject having a unkown active status
If a scaled object is not well configured, it's status is Uknown. We should be notified when some object have this state because it's mostly wrong
There is a keda_scaled_errors
metrics that could be matching the need
❯ kubectl --context archive-production-rke2 get scaledobjects -A 11:07:36
NAMESPACE NAME SCALETARGETKIND SCALETARGETNAME MIN MAX TRIGGERS AUTHENTICATION READY ACTIVE FALLBACK AGE
swh-cassandra storage-replayer-content-scaledobject apps/v1.Deployment storage-replayer-content 1 64 kafka keda-storage-replayer-content-authentication False Unknown False 328d
swh-cassandra storage-replayer-directory-scaledobject apps/v1.Deployment storage-replayer-directory 1 10 kafka keda-storage-replayer-directory-authentication False Unknown False 99d
swh-cassandra storage-replayer-extid-scaledobject apps/v1.Deployment storage-replayer-extid 1 5 kafka keda-storage-replayer-extid-authentication False Unknown False 328d
swh-cassandra storage-replayer-metadata-scaledobject apps/v1.Deployment storage-replayer-metadata 1 5 kafka keda-storage-replayer-metadata-authentication False Unknown False 328d
swh-cassandra storage-replayer-origin-scaledobject apps/v1.Deployment storage-replayer-origin 1 5 kafka keda-storage-replayer-origin-authentication False Unknown False 328d
swh-cassandra storage-replayer-origin-visit-scaledobject apps/v1.Deployment storage-replayer-origin-visit 1 5 kafka keda-storage-replayer-origin-visit-authentication False Unknown False 328d
swh-cassandra storage-replayer-origin-visit-status-scaledobject apps/v1.Deployment storage-replayer-origin-visit-status 1 5 kafka keda-storage-replayer-origin-visit-status-authentication False Unknown False 328d
swh-cassandra storage-replayer-raw-extrinsic-metadata-scaledobject apps/v1.Deployment storage-replayer-raw-extrinsic-metadata 1 5 kafka keda-storage-replayer-raw-extrinsic-metadata-authentication False Unknown False 328d
swh-cassandra storage-replayer-release-scaledobject apps/v1.Deployment storage-replayer-release 1 5 kafka keda-storage-replayer-release-authentication False Unknown False 328d
swh-cassandra storage-replayer-revision-scaledobject apps/v1.Deployment storage-replayer-revision 1 5 kafka keda-storage-replayer-revision-authentication False Unknown False 328d
swh-cassandra storage-replayer-skipped-content-scaledobject apps/v1.Deployment storage-replayer-skipped-content 1 5 kafka keda-storage-replayer-skipped-content-authentication False Unknown False 328d
swh-cassandra storage-replayer-snapshot-scaledobject apps/v1.Deployment storage-replayer-snapshot 1 5 kafka keda-storage-replayer-snapshot-authentication False False False 328d
swh checker-deposit-operators apps/v1.Deployment checker-deposit 1 2 rabbitmq amqp-authentication-checker-deposit True False False 292d
swh cooker-batch-operators apps/v1.Deployment cooker-batch 1 2 rabbitmq amqp-authentication-cooker-batch True False Unknown 173d