Keda Cloudwatch scaler retrieve AWS ALB target group dimension value automatically #4888
Unanswered
abhiptl
asked this question in
Q&A / Need Help
Replies: 1 comment 1 reply
-
Hello, Currently we don't support reading that parameter from other source than the trigger metadata but it's just because we haven't needed it yet. Could reading the value from an environment variable of the workload solve your issue? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Proposal
AWS Cloudwatch scaler has to be provided with a target group dimension value. If you use the AWS ALB controller then ALB and also target group are created by the AWS ALB controller for the services. This means you have to explicitly hard code the value of the target group value. If you are using argoCD then it has to be hard coded or variable.
hardcode
dimensionValue: "targetgroup/k8s-dla2-legacypr-99690e15ee/59179bb1028387a7"
Use-Case
ScaledObject already has deployment information as scaleTargetRef. If we make this dimension value option then it should automatically retrieve the value of targetGroup value based on deployment -> service and AWS ALB controller configuration.
Is this a feature you are interested in implementing yourself?
No
Anything else?
No response
Beta Was this translation helpful? Give feedback.
All reactions