-
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/vpa updates more tests and pointers #209
Hkatz/vpa updates more tests and pointers #209
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 <andrew@sudermanjr.com>
Co-Authored-By: Andrew Suderman <andrew@sudermanjr.com>
Merge master from upstream
Hkatz/dashboard and summary overhaul
…d _significantly_
Co-authored-by: Andrew Suderman <andrew@sudermanjr.com>
…i-call Hkatz/batch summary deployments api call
Hkatz/batch summary deployments api call (FairwindsOps#194)
Hkatz/namespace and summary niceties
Update master from upstream
…update VPAs during reconciliation
Not sure how there are conflicts... everything is updated on my end. I'm going to fiddle with git and try to figure out what's going on and may close/reopen this PR. |
Update client go and vpa (FairwindsOps#203)
…ore-tests-and-pointers
Ok I figured out that I was missing the v1beta2 -> v1 changes so I've merged those. |
Codecov Report
@@ Coverage Diff @@
## master #209 +/- ##
==========================================
+ Coverage 51.57% 52.86% +1.29%
==========================================
Files 8 8
Lines 605 611 +6
==========================================
+ Hits 312 323 +11
+ Misses 261 258 -3
+ Partials 32 30 -2
Continue to review full report at Codecov.
|
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.
Awesome! I have wanted to do that for a long time (RE: using vpa objects instead of names). Double awesome on the code coverage.
Why?
Here's the last PR from the set of changes Squarespace has made in their local fork. This last set of changes aims to improve the simplicity of the create/update/delete process for VPAs, Deployments, and Namespaces by using the real objects instead of string names throughout the reconciliation process. This comes with the added advantage of being able to test/mock these individual calls and methods.
What?
getVPAObject()
to return an in-time state representation of the VPA and then use that for create/update/delete as needed