-
Notifications
You must be signed in to change notification settings - Fork 2
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
Drop the sigs.k8s.io/metrics-server dependency #8
Drop the sigs.k8s.io/metrics-server dependency #8
Conversation
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.
Nice!
I see that starting [email protected], it provides a default OpenAPIConfig. See kubernetes-sigs/custom-metrics-apiserver#110 |
0d2a6f9
to
ee3302d
Compare
* Drop the replace for k8s.io/client-go * Drop the sigs.k8s.io/metrics-server dependency
…0.16` (#14) * [prerequisite] Drop the unused client field from the actuators * [prerequisite] Drop dependency injection funcs * Upgrade `k8s.io/*` to `v0.28`, `sigs.k8s.io/controller-runtime` to `v0.16` * Adapt to the breaking change in the manager.Options struct * Adapt to the breaking change how the watch is being set up * Use the upstream fake client instead of a custom fake manager * Drop unit tests for AddNewControllerToManager * Use k8s.io/utils/ptr instead of the deprecated k8s.io/utils/pointer pkg * Use the upstream fake client instead of the custom fake client * Drop the custom fake client * Drop the fake manager * Use consistent naming for the manager * Drop custom OpenAPIConfig instead of the default one from custom-metrics-apiserver See #8 (comment) * Adapt to the breaking change how the cache is restricted to object with label selectors
How to categorize this PR?
/area auto-scaling
/kind cleanup
What this PR does / why we need it:
According to my testing the
sigs.k8s.io/metrics-server
is not required for the custom-metrics-apiserver to function properly.I build an image with the changes from this PR. Then I applied the resources from the example dir to existing Seed cluster in Gardener's well know local setup. After that I queried the custom metrics with:
Which issue(s) this PR fixes:
Part of #5
Special notes for your reviewer:
N/A
Release note: