github kubernetes-sigs/metrics-server v0.5.0

latest releases: v0.7.1, metrics-server-helm-chart-3.12.0, v0.7.0...
2 years ago

Installation

kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.5.0/components.yaml

Changes since v0.4.4

This release comes with big improvements in both autoscaling quality and reliability. A 2X improvement to the CPU based scale up time makes horizontal pod autoscaler much more responsive to large load spikes. A default resource requirements that should guarantee reliable support up to 100 node clusters (70 pods per node) out of the box. This is achieved thanks to multiple performance improvements, that allowed an increase of metric collection frequency while keeping the resource requests low.

Improvements

  • Increased default metrics scraping resolution to 15s (@serathius)
  • Switch CPU metric to cumulative Summary API UsageCoreNanoSeconds (@dgrisonnet)
  • Expose object labels on PodMetrics and NodeMetrics objects (@serathius)
  • Set HTTP UserAgent header (@yangjunmyfm192085)
  • Utilize container start time to speed up reporting metric values for fresh container (@yangjunmyfm192085)

Reliability

  • Set default resource requirements with intended to support 100 node clusters (@serathius)
  • Split readiness and liveness probes (@serathius)
  • Update kubernetes dependencies to 1.21 and Go version to 1.16 (@serathius)

Optimizations

  • Don't keep in memory whole pod objects, only metadata (@serathius)
  • Don't keep in memory terminated pods (@serathius)

Observability

  • Expose metrics about kubernetes rest client used to communicate with kube-apiserver (@adammw)
  • Migrate to structured logging (@serathius)

Fixes

  • Prevent reporting negative CPU value caused by unreliable cAdvisor timestamp (@sanwishe)
  • Skip metric points incorrectly reported as 0 by cAdvisor (@serathius)

Thanks to everyone who contributed to this release!

Don't miss a new metrics-server release

NewReleases is sending notifications on new releases.