v0.7.0
Installation
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.7.0/components.yaml
Changes since v0.6.4
Logging flags that are klog specific (--log-dir
, --log-file
, --logtostderr
, --alsologtostderr
, --one-output
, --stderrthreshold
, --log-file-max-size
, --skip-log-headers
, --add-dir-header
, --skip-headers
, --log-backtrace-at
) were deprecated in v0.6.1 and are now removed.
Improvements
- Support producing logs in JSON format (@yangjunmyfm192085)
- Introduce
--kubelet-request-timeout
CLI flag to customize the timeout of requests to kubelet (@yangjunmyfm192085) - Add the ability to exclude nodes by labels via the
--node-selector
flag (@yangjunmyfm192085) - Disable DWARF generation when compiling the binary to reduce its size (@mattmoor)
- Support modifying the metric collection path on nodes via the
metrics.k8s.io/resource-metrics-path
annotation on the nodes (@wzshiming) - Add release binaries to the Github release artifacts (@wzshiming)
- Bump Golang to v1.21.6 and Kubernetes clients to v0.29.0
Optimizations
- Remove redundant informer startup (@yangjunmyfm192085)
Fixes
- Handle malformed metrics from Kubelet (@XiaoXiaoSN)
- Handle Kernel bug leading to incorrect CPU usage data (@sleepyzhang)
Tests
- Add fuzzing testing (@yangjunmyfm192085)
- Add resource usage tests (@yangjunmyfm192085)
- Add tests for sidecar containers (@yangjunmyfm192085)
- Configure e2e tests to be arm & darwin compatible (@josh-ferrell)
- Test against Kubernetes 1.27, 1.28, 1.29 (@yangjunmyfm192085)
Manifests
- Migrate to a base-components-overlays structure (@maxbrunet)
- Update PodDisruptionBudget to policy/v1 (@yangjunmyfm192085)
- Add version-specific HA manifests (@dgrisonnet)
- Permit running metrics-server under PodSecurity restricted (@jcpunk)
- Update autoscaling configuration to follow README recommendation (@serathius)
- Add containerSecurityContext for addonResizer (@the-technat)
Documentations
- Add new scenarios to the KNOWN_ISSUES (@serathius, @maxmetalm, @yangjunmyfm192085)
- Document CLI flags (@serathius)
- Document metrics-server's network requirements (@yangjunmyfm192085, @serathius)
- Improve high-availability guidelines (@sherifabdlnaby)