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

Hkatz/namespace and summary niceties #196

Merged

Conversation

hjkatz
Copy link
Contributor

@hjkatz hjkatz commented Aug 12, 2020

Re-creating PR#195


Why?

These are some minor improvements to the overall usage of the new namespace list, dashboard, and summary that I decided to include in a separate PR than the originally very large one.

What?

  • Add a search bar/filter with some nice js (like select on <enter> and such)
  • Update the summarizer to produce valid summaries for single namespaces
  • Only include containers in a summary if they match a container in the deployment (this fixes a bug where a summary would display blank containers, which were containers that don't match the deployment (this happens if a container is injected into the deployment))

Harrison Katz and others added 30 commits February 28, 2020 15:17
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.
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>
Harrison Katz and others added 21 commits June 28, 2020 13:17
Co-authored-by: Harrison Katz <hkatz@squarespace.com>
Merge master from upstream
Co-authored-by: Andrew Suderman <andrew@sudermanjr.com>
…i-call

Hkatz/batch summary deployments api call
Hkatz/batch summary deployments api call (FairwindsOps#194)
@codecov
Copy link

codecov bot commented Aug 12, 2020

Codecov Report

Merging #196 into master will decrease coverage by 0.42%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #196      +/-   ##
==========================================
- Coverage   52.07%   51.65%   -0.43%     
==========================================
  Files           8        8              
  Lines         601      606       +5     
==========================================
  Hits          313      313              
- Misses        257      261       +4     
- Partials       31       32       +1     
Impacted Files Coverage Δ
pkg/summary/summary.go 46.66% <0.00%> (-2.03%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 92a09a0...9a0ebed. Read the comment docs.

@sudermanjr sudermanjr merged commit 9f46ebe into FairwindsOps:master Aug 13, 2020
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.

4 participants