Skip to content

feat: Detect unused Vertical Pod Autoscalers (VPAs) - #624

Open
hurzelpurzel wants to merge 4 commits into
yonahd:mainfrom
hurzelpurzel:feature/vpa
Open

hurzelpurzel wants to merge 4 commits into
yonahd:mainfrom
hurzelpurzel:feature/vpa

Conversation

@hurzelpurzel

@hurzelpurzel hurzelpurzel commented Sep 19, 2026

Copy link
Copy Markdown
Contributor

What this PR does / why we need it?

This adds unused VPA detection

PR Checklist

  • This PR adds K8s exceptions (false positives)
  • [ x] This PR adds new code
  • [ x] This PR includes tests for new/existing code
  • [ x ] This PR adds docs

GitHub Issue

#566

Notes for your reviewers

AI assisted by: Opencode ( BigPickle)

@codecov-commenter

codecov-commenter commented Sep 19, 2026

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

❌ Patch coverage is 53.57143% with 78 lines in your changes missing coverage. Please review.
✅ Project coverage is 47.34%. Comparing base (2ac1fcf) to head (67cec67).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
pkg/kor/delete.go 32.35% 21 Missing and 2 partials ⚠️
pkg/kor/vpas.go 72.72% 12 Missing and 9 partials ⚠️
pkg/kor/all.go 0.00% 16 Missing ⚠️
cmd/kor/vpas.go 0.00% 10 Missing ⚠️
pkg/kor/multi.go 20.00% 8 Missing ⚠️
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #624      +/-   ##
==========================================
+ Coverage   46.95%   47.34%   +0.38%     
==========================================
  Files          69       71       +2     
  Lines        3963     4125     +162     
==========================================
+ Hits         1861     1953      +92     
- Misses       1795     1855      +60     
- Partials      307      317      +10     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

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.

2 participants