v0.4.0
Installation
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.4.0/components.yaml
Breaking changes
Manifests
- Metrics Server will use Kubelet IP addresses instead of DNS
- Deployment manifests are no longer located in
deploy
folder, but inmanifest
using Kustomize - Metrics server will now run with
system-cluster-critical
pod priority meaning it can evict workloads with lower priority - Renamed Pod port to
https
- Removed
kubernetes.io/name
&kubernetes.io/cluster-service
labels from Service
Container image
- Removed
/healthz
endpoint - Some combinations of TLS flags are no longer allowed
- Metric
metrics_server_kubelet_summary_request_duration_seconds
was renamed tometrics_server_kubelet_request_duration_seconds
- Metric
metrics_sever_kubelet_summary_scrapes_total
was renamed tometrics_server_kubelet_request_total
- Metric
metrics_server_scraper_last_time_seconds
was renamed tometrics_server_kubelet_last_request_time_seconds
- Metric
metrics_server_scraper_duration_seconds
was deleted - Metric
metrics_server_kubelet_last_request_time_seconds
had it labelsource
renamed tonode
Changes since 0.3.7
New Features
- Detect Kubelet port based on node status (@Poor12)
- Allow passing TLS certificate&key to kubelet client (@uthark)
- Added mmanifests configured with autoscaling (@serathius)
- Adopt Kustomize for manifests (@serathius)
- Implement server-side api output formatting (@smarterclayton)
- Order pods returned by API (@smarterclayton)
- Add pod disruption budget (@brianpursley)
- TLS flag validation (@AkashSarda)
Reliability
- Add properly designed readiness and liveliness probes and endpoints
/livez
and/readyz
(@serathius, @hanumanthan) - Set pod priority to
system-cluster-critical
(@serathius)
Optimizations
- Skip parsing not used fields in Summary API (@serathius)
- Use easyjson for parsing (@serathius)
- Pool buffer for scraping (@serathius)
Clean ups
- Removed spammy
no metrics known for pod
logs (@serathius) - Named Service port
https
(@elmariofredo) - Rename pod port to
https
(@serathius) - Removed KubeUp labels (@serathius)
- Add copyright license headers verification (@dgrisonnet)
- Refactor of kubelet metrics (@serathius)
- Update golang version to 1.14 (@serathius)
- Update dependencies to kubernetes 1.19 (@serathius)
Tests
- Test k8s 1.19 in e2e tests (@serathius)
Documentation
- Document x509 errors in FAQ (@QianChenglong)
- REAME.md typo fixes (@zhiweiv)
Thanks to everyone who contributed to this release!