-
Notifications
You must be signed in to change notification settings - Fork 136
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
Hkatz/dashboard and summary overhaul #180
Hkatz/dashboard and summary overhaul #180
Conversation
…airwindsOps#103)" This reverts commit e55026d.
Revamp e2e Tests (FairwindsOps#118)
Merge Master
The VPAUpdateMode field will allow us to use Goldilocks to create VPAs that operate outside of "off" mode.
This commit adds a parameter to createVPA that allows the user to specify the update mode for the VPA. The mechanism for specifying this is the label goldilocks.fairwinds.com/vpaUpdateMode.
Kubernetes labels are based on DNS names, which are case insensitive. However, the current label used to specify the update mode of created VPAs, vpaUpdateMode, is case sensitive. This has caused a bug that results in all VPAs being created in "Off" mode. This commit fixes that bug by using a case-insensitive label to specify the vpa-update-mode.
Hkatz/add vpa update mode
Merge masters
Also: - Update reconciler to use VPA and Deployment objects directly (instead of names) - Update reconciler logging - Update/Add vpa tests
Also: - Update vpa tests - Fix vpa-opt-out logic
Co-Authored-By: Andrew Suderman <[email protected]>
Co-Authored-By: Andrew Suderman <[email protected]>
5cdf1c0
to
38889be
Compare
fca34b3
to
5db0769
Compare
Codecov Report
@@ Coverage Diff @@
## master #180 +/- ##
==========================================
+ Coverage 44.84% 52.35% +7.50%
==========================================
Files 9 8 -1
Lines 660 573 -87
==========================================
+ Hits 296 300 +4
+ Misses 340 247 -93
- Partials 24 26 +2
Continue to review full report at Codecov.
|
I literally cannot believe all the e2e tests passed. That's incredible! :D |
@lucasreed/@sudermanjr Any chance y'all could lend some 👀 to this PR? 😃 |
I will try to get a chance to look at this this week. |
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.
Haven't tested locally but the code looks great!
Co-authored-by: Harrison Katz <[email protected]>
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.
Overall, functionality seems great and I love the namespaced views on the dashboard.
I'm really not a fan of the dashboard
-> web
rename. It seems to suggest that it does more than display information, which it does not do.
The fact that it also changes the name of all of the kubernetes objects means we will have to completely change the chart, as well as the users experiencing a very heavy shift in what they see in their clusters when deploying.
TL;DR, it seems like a lot of code churn with zero functional purpose.
Agreed, simply changing the package name back to |
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.
Adding official review based on comments above: unclear what the purpose is of renaming the dashboard package. Lets change that back and all the documentation changes around it to have a smaller, more manageable PR.
Will do y'all! I originally wanted to rename (Edit: It also looks a bit strange to see |
6fd77b9
to
84ba32b
Compare
Ok, |
84ba32b
to
eae73cd
Compare
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, sorry again for the delay!
Why?
This is one of the largest PRs I'll be submitting. It's big because it does a complete overhaul of the dashboard (now "web") package and summary packages to support the changes.
Goals:
What?
Major Changes:
pkg/dashboard
->pkg/web
to support more than just "the dashboard" view as there is also a list view tooMinor Changes:
/namespaces
is the new default routepkg/utils
P.S. After this there are a few more PRs but they're all 1-2 commits in size and should be quick. They include:
This PR was already getting enormous so I'm trying to slice it here. I'm comfortable modifying just about anything in this PR now since the hard part was really getting past this point :)