You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I would like to be able to configure the target of the scaleTargetRef part for a deployment with a regex for the name or with label. For e.g. below with a regex:
We are using spring cloud data flow (SCDF) in our environment and the operational team often updates the deployment in SCDF. The behaviour of SCDF is to add a suffix at the end of the deployment and incrementing it each time it is updated.
For e.g. if I updated 15 times the deployment, it would be named nginx-v16 and if I update it once more, it would be named nginx-v17.
So each time I want to update the deployment, I also have to update the nginx ScaledObject to match the new name.
If we could use regex for the deployment's name or label instead, it would be better.
Is this a feature you are interested in implementing yourself?
No
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Hello,
I get your point, but we decided to not support this by design. The support for this regex could introduce side effects due to unexpected matching, and also would require that KEDA has permissions to watch all the possible workload types to detect when one is removed/added to remove/add the HPA for it.
To support this scenario, the HPA itself should support it, and it doesn't support it atm.
Just in case, WDYT @kedacore/keda-core-contributors ?
Proposal
I would like to be able to configure the target of the scaleTargetRef part for a deployment with a regex for the name or with label. For e.g. below with a regex:
And below with label:
Use-Case
We are using spring cloud data flow (SCDF) in our environment and the operational team often updates the deployment in SCDF. The behaviour of SCDF is to add a suffix at the end of the deployment and incrementing it each time it is updated.
For e.g. if I updated 15 times the deployment, it would be named
nginx-v16
and if I update it once more, it would be namednginx-v17
.So each time I want to update the deployment, I also have to update the nginx
ScaledObject
to match the new name.If we could use regex for the deployment's name or label instead, it would be better.
Is this a feature you are interested in implementing yourself?
No
Anything else?
No response
The text was updated successfully, but these errors were encountered: