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

Remove deploymentName label on every ScaledObject #545

Closed
tomkerkhove opened this issue Jan 16, 2020 · 7 comments · Fixed by #644
Closed

Remove deploymentName label on every ScaledObject #545

tomkerkhove opened this issue Jan 16, 2020 · 7 comments · Fixed by #644
Assignees
Labels
enhancement New feature or request help wanted Looking for support from community needs-discussion

Comments

@tomkerkhove
Copy link
Member

In #504 we've fixed an issue where we correctly log the missing deploymentName label on every ScaledObject.

However, do we still need the label? If so, what was the reason again?

Ideally, we get rid of this as it's duplicated data from spec.scaleTargetRef.deploymentName which is not ideal.

@tomkerkhove tomkerkhove added enhancement New feature or request needs-discussion labels Jan 16, 2020
@tomkerkhove
Copy link
Member Author

If we cannot remove it, I'll add a section on https://keda.sh/faq for it

@ppatierno
Copy link
Contributor

ppatierno commented Feb 17, 2020

@tomkerkhove to be honest I don't see any reason for leaving that label.
As far as I can see the entire rest of the logic leverages on the spec.scaleTargetRef.
If we agree to remove it, I am happy to help on this with a PR.

@tomkerkhove
Copy link
Member Author

Yes, was somewhat the consensus on #242 but added to agenda for standup before we get things going as a final verification.

@ppatierno
Copy link
Contributor

So from #242 it seems that we can remove the label as mandatory field to be specified by the user but the operator has to add it for the metrics server.

@jeffhollan
Copy link
Member

Chatted about this briefly in standup - sounds good. It doesn't sound like there is a downside to doing this

@jeffhollan jeffhollan added the help wanted Looking for support from community label Feb 20, 2020
@tomkerkhove
Copy link
Member Author

Are you up for it @ppatierno?

@ppatierno
Copy link
Contributor

Yes, guys, I will take it over the weekend I guess.

preflightsiren pushed a commit to preflightsiren/keda that referenced this issue Nov 7, 2021
Co-authored-by: Tom Kerkhove <kerkhove.tom@gmail.com>
Signed-off-by: jorturfer <jorge_turrado@hotmail.es>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Looking for support from community needs-discussion
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants