• v0.6.0 6e196e2d01

    v0.6.0 Stable

    serathius released this 2022-01-20 10:25:51 +00:00 | 795 commits to master since this release

    Installation

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

    Changes since v0.5.0

    Breaking changes

    • Metrics Server now requires access to nodes/metrics RBAC resource instead of nodes/stats. No changes needed if you use official manifests, however please update RBAC resources if you just use Metrics Server image with custom manifests.

    Improvements

    • Migrate to Kubelet resource metrics endpoint (@yangjunmyfm192085)

    • Add high availability configuration (@dgrisonnet)

    • Update golang used in metrics-server to 1.17 (@yangjunmyfm192085)

    • Add Helm chart (@stevehipwell )

    • Add helm chart metadata (@stevehipwell )

    • Update golang to 1.17.1 (@serathius)

    • Update golang modules to match K8s 1.22.2 (@serathius)

    • Update module scripts (@serathius)

    • Set http client timeout (@serathius)

    • reimplement parsing container start time (@yangjunmyfm192085)

    Optimizations

    • Change storage batch to use map instead of list (@serathius)

    • Enable more golangci-lint linters and cleanup code (@serathius)

    • Reduce allocations in api code (@serathius)

    • Reduce allocations made by metric parsing (@serathius)

    Observability

    • Allow users to configure audit logs (@dgrisonnet)

    • Automate release manifests publication (@dgrisonnet)

    • Remove cap_net_bind_service from metrics-server(@shuaich)

    Tests

    • Add initContainer for e2e_test (@yangjunmyfm192085)

    • Add sidecar container to e2e test (@yangjunmyfm192085)

    • Automate testing scalability of Metrics Server (@yangjunmyfm192085 @sanwishe )

    • Run e2e tests with high availability configuration (@dgrisonnet)

    • Add e2e tests for k8s version 1.22 (@yangjunmyfm192085)

    • improve metrics comparison output (@dgrisonnet)

    • Updates E2E test images registry (@claudiubelu)

    • Update e2e tooling (@serathius)

    • Improve API tests (@serathius)

    • Cover Helm Chart with proper e2e tests (@yangjunmyfm192085)

    Manifests

    • Add RBAC to autoscale manifests (@maxbrunet)

    • Improve "autoscale" kustomization (@maxbrunet)

    • Minimize rbac permissions (@serathius)

    Documentations

    • Move live reload documentation to CONTRIBUTING.md (@serathius)

    • Update FAQ information about CPU and memory units (@serathius)

    • Provide alternative to using Metrics Server as source of metrics (@serathius)

    • Update Supported Kubernetes version for Metrics Server 0.6.x (@yangjunmyfm192085)

    • Update org-wide default files (@serathius)

    Fixes

    • Rename master to main (@ikarldasan)

    • fix typo in error message (@crd477)

    • wait to be able to compute the resource usage of all the containers of a pod before exposing its PodMetrics(@yangjunmyfm192085)

    • Don‘t use Kubelet start time for metrics-server (@yangjunmyfm192085)

    Downloads