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 v1.21.6 to and Kubernetes clients to v0.29.0
Optimizations
Fixes
- Handle malformed metrics from Kubelet (@XiaoXiaoSN)
- Handle Kernel bug leading to incorrect CPU usage data (@sleepyzhang)
Tests
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