Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add deploymentName label if needed #709

Merged
merged 1 commit into from
Mar 30, 2020
Merged

Conversation

zroubalik
Copy link
Member

@zroubalik zroubalik commented Mar 30, 2020

Signed-off-by: Zbynek Roubalik [email protected]

Fixing regression brought by #545

If there's no deploymentLabel on ScaledObject, KEDA creates one.

Fixes #708

Signed-off-by: Zbynek Roubalik <[email protected]>
@tomkerkhove
Copy link
Member

So if I get it correctly, I can still leave out the label on my ScaledObject, right?

@zroubalik
Copy link
Member Author

@tomkerkhove if there's already the label KEDA does nothing, if it missing it creates one for the user.

Currently v 1.3 there's a bug, if the label is not present on the ScaledObject, scaling 1<->N will not work. Because metrics server uses this label to handle the metrics and feed HPA with data

@tomkerkhove tomkerkhove merged commit d32b668 into kedacore:master Mar 30, 2020
@zroubalik zroubalik deleted the labelFix branch August 11, 2020 11:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Scaling 1->N doesn't work for ScaledObject with missing deploymentName label
2 participants