-
Notifications
You must be signed in to change notification settings - Fork 182
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
chore: rewrite machine controller names #351
Conversation
This might be a great change, but I'm not sure it would classify as a fix? Seems like something that may have breaking side-effects and so we'd want to ensure it's only rolled out in a minor release and called out in release notes. |
You're right, a chore is probably more appropriate, ✔️ |
Pull Request Test Coverage Report for Build 5091393148
💛 - Coveralls |
This has impact on metrics controller name labels so it technically classifies as breaking, but I think that this change makes sense. |
Looking over the whole codebase, it probably makes sense to scope like this based on the directory structure:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀 Made some comments on additional changes that you can do to make controller names consistent throughout!
✅ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The machine changes look ok since they haven't been released, but I don't think we can change the others without some significant discussion and possibly linking it to v1beta1. It would silently break anyone that is using these for alarming.
Make totally sense. PR updated to only modify machine controller names ✅ |
Makes sense @tzneal. We can rope this into the metrics/observability discussion. |
@guikcd Would you mind making the same changes to machine controllers in the |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 🚀
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Fix: #3741
EDIT: only machine related controller names changed.
Description
Rename controller names to respect the codebase structure.
I've not changed pkg/controllers/metrics/state/controller.go which has name
metric_scraper
, please confirm me that this specific name can be changed tometrics.state
and have no impact on the rest of the Karpenter project.How was this change tested?
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.