k8stopologyawareschedwg / resource-topology-exporter

Resource Topology exporter for Topology Aware Scheduler
Apache License 2.0
14 stars 12 forks source link

metrics: replace custom server with controller-runtime #261

Closed ffromani closed 8 months ago

ffromani commented 8 months ago

controller-runtime >= 0.16, a dependency we already have, has support to setup metrics servers. We can thus replace most of our custom code to library code, which has more features (cert rotation), more review and better defaults.

This replaces in one go both http (insecure) and https (tls secure) servers.

Fixes: #259