Releases: kubernetes-sigs/prometheus-adapter
v0.12.0
Changes since v0.11.0
Improvements
- Register and improve prometheus client http metrics that were previously unregistered (#599, @bogo-y)
- Add new flag to disable HTTP/2 (#618, @machine424)
- Bump Golang to 1.22.2, Kubernetes libraries to 1.30.0 and other dependencies to their latest version (#659, @dgrisonnet)
Bug fixes
- Fix multi-arch image build (#601, @dgrisonnet)
v0.11.2
Changes since v0.11.1
Security
- Upgrade golang to 1.20.10 to address multiple CVE security findings (@jaybooth4, #616)
v0.11.1
v0.10.1
v0.11.0
Changes since v0.10.0
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.10.0 and are now removed.
Improvements
- Bump go to 1.20 and k8s deps to 0.27.2 (#586, @dgrisonnet)
- Add support for OpenAPI v3 (#586, @dgrisonnet)
- Update registry location to registry.k8s.io in the manifests (#529, @dgrisonnet)
- Update manifests in deploy/manifests to be in sync with the one in kube-prometheus (#531, @JoaoBraveCoding)
- Use golangci-lint to lint the codebase (#540, @olivierlemasle)
- Set MinVersion: tls.VersionTLS12 in prometheus client's TLSClientConfig (#544, @olivierlemasle)
- Refactor adding logging flags (#546, @olivierlemasle)
Bug fixes
- Fix segfault when using --prometheus-token-file (#538, @olivierlemasle)
Documentation
- Fix broken links in README.md (#518, @sillyfrog)
- Fix yaml in sample config & docs (#559, @asherf)
v0.10.0
Changes since v0.9.1
Deprecation
- 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) are deprecated and will be removed following Kubernetes v1.25 release. More details are available in KEP-2845.
Improvements
- Add new
--prometheus-verb
CLI flag to configure the HTTP verb used by prometheus-adapter when querying Prometheus. #509 (@ksauzz) - Update Kubernetes dependencies to v1.24 and golang version to v1.18.5. #521 (@dgrisonnet)
Bug fixes
- Fix a bug where the config file wasn't closed in some scenarios. #498 (@lokichoggio)
Documentation
- Add documentation about Helm3 installation. #491 (@Ruwan-Ranganath)
- Update apiregistration.k8s.io to v1 in the manifests. #494 (@grzesuav)
v0.9.1
Changes since v0.9.0
Bug fixes
- Fix external metrics provider not respecting metrics-max-age (@leoskyrocker)
v0.9.0
Changes since v0.8.4
All official images for releases after v0.8.4 are available in k8s.gcr.io/prometheus-adapter/prometheus-adapter:$VERSION
. The project also maintains a staging registry where images for each commit from the master branch are published. You can use this registry if you need to test a version from a specific commit, or if you need to deploy a patch while waiting for a new release, but do note that the stability of these images is not guaranteed.
Images for versions v0.8.4 and prior are only available in unofficial registries:
- https://quay.io/repository/coreos/k8s-prometheus-adapter-amd64
- https://hub.docker.com/r/directxman12/k8s-prometheus-adapter/
Changes
- Publish official images of prometheus-adapter to k8s.gcr.io and stop publishing to unofficial registries (@dgrisonnet)
- Move module to sigs.k8s.io/prometheus-adapter (@dgrisonnet)
Improvements
- Allow external metrics to be defined as namespaced: false (@carsonoid)
- Support setting headers on requests to Prometheus (@discordianfish)
- Propagate metric providers context (@dgrisonnet)
- Update Kubernetes dependencies to v1.22 and golang version to v1.16 (@dgrisonnet)
Bug fixes
- Prevent panics when prometheus-adapter can't get PodMetrics/NodeMetrics (@dgrisonnet)
- Filter non-running pods (@dgrisonnet)
- Prevent prometheus-adapter from returning negative resource metrics (@dgrisonnet)
- Fix incorrect type used for openapi spec (@arajkumar)
- Fix openapi spec for custom and external metrics types (@arajkumar)
Documentation
- Update deploy/README.md to fix links (@andrewpollack)
- Update gcr promotion guidelines (@dgrisonnet)
- Default images to the official k8s.gcr.io and gcr.io registries (@dgrisonnet)
- Fix external rule tag in documentation (@ashishranjan1457)
- Document image registries (@fpetkovski)
- Update documentation to include metrics-max-age (@leoskyrocker)
Clean-ups
- Remove vendor and localvendor directories (@dgrisonnet)
- Consolidate docker build (@dgrisonnet)
- Improve container push rules (@dgrisonnet)
- Move image publication to prow.k8s.io and remove Travis CI (@dgrisonnet)
v0.8.4
[ENHANCEMENT] Add TLS auth for accessing Prometheus #354
[ENHANCEMENT] Allow configuration to be read from json schema #372
[ENHANCEMENT] Add signal handler to the adapter #389
[CLEANUP] Migrate imports to github.com/kubernetes-sigs/prometheus-adapter #374
[CLEANUP] Extend unit tests to the cmd directory #382
[CLEANUP] Move verify CI job to prow #387
[DOC] Update Prometheus Operator Doc location #319
[DOC] Fix walkthrough example #379
[DOC] Fix documented metrics labels to work for k8s 1.16+ #386
v0.8.3
[BUGFIX] Fix authorizer webhook panic by bumping apiserver dependencies #362
[DOCS] Add NOTICE to comply with the CNCF rules #359
[ENHANCEMENT] Populate metric selector for custom metrics #348
[BUGFIX] Fix apiserver panics by bump to k8s 1.20, go 1.15 #352
[ENHANCEMENT] Make NodeMetrics and PodMetrics APIs match K8s conventions #344