Releases: kubernetes-sigs/metrics-server
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!
v0.3.7
Installation
kubectl apply -f https://github.com/kubernetes-sigs/metrics-server/releases/download/v0.3.7/components.yaml
Image location changed
New image is available at k8s.gcr.io/metrics-server/metrics-server:v0.3.7
Changes since v0.3.6
- New Image location k8s.gcr.io/metrics-server/metrics-server
- Use image promoter pipeline making releases automated and auditable
- Release docker image supporting multiple architectures
- Upgrade golang version to 1.12
- Include deployment manifests as part of release
- Run image as non root user
v0.3.6
v0.3.5
v0.3.4
v0.3.3
v0.3.2
v0.3.1
Changes since v0.3.0
- 🐛 ensure that missing pod/node data doesn't invalidate an entire node's results
v0.3.0
Changes since v0.3.0-alpha.1
-
🎉 update to latest kubernetes dependencies, allowing automatic use of delegated auth on clusters without client certificate auth enabled
-
🐛 ensure earliest timestamps are always reported for metric points. This means it's safe to assume that if a metric point came after pod initialization (factoring in the window), all metrics contained therein came from after pod initialization.
-
⚠️ / 🎉 change reported window size to 30s, to be more accurate (cAdvsior's calculation window can vary from 10s-30s, but it's not possible to tell the exact window at this point).
Changes since v0.2.1
⚠️ flag names have changed significantly. See #113 for more information⚠️ Prometheus metrics about metrics-server health have changed names and types⚠️ / 🎉 use the secure Kubelet port with auth by default. Use of the insecure port is deprecated and may be removed as soon as next release.⚠️ / 🎉 source usage rate from Kubelet directly This should improve metrics reliability, but means that the scrape interval no longer has any relation to the metrics calculation window (which is now effectively between 10-30s).⚠️ / 🎉 node addresses are now chosen with the same mechanics as kube-apiserver, and can be customized with an identically named flag. This should not affect most installations, but should make it easier to work with clusters with many different node addresses, and makes metric-server more consistent with the rest of kubernetes- 🎉 support IPv6 kubelet addresses
- 🐛 avoid passing bearer token to insecure port
v0.3.0 (alpha 1)
Changes
⚠️ flag names have changed significantly. See #113 for more information⚠️ Prometheus metrics about metrics-server health have changed names and types⚠️ / 🎉 use the secure Kubelet port with auth by default. Use of the insecure port is deprecated and may be removed as soon as next release.⚠️ / 🎉 source usage rate from Kubelet directly This should improve metrics reliability, but means that the scrape interval no longer has any relation to the metrics calculation window (which is now effectively between 10-30s).⚠️ / 🎉 node addresses are now chosen with the same mechanics as kube-apiserver, and can be customized with an identically named flag. This should not affect most installations, but should make it easier to work with clusters with many different node addresses, and makes metric-server more consistent with the rest of kubernetes- 🎉 support IPv6 kubelet addresses
- 🐛 avoid passing bearer token to insecure port