We are happy to release KEDA 2.7.0 🎉
Here are some highlights:
- Introduction of pausing autoscaling through annotations for ScaledObject.
- Introduce ARM-based container image
- Introduction of AWS DynamoDB, Azure Data Explorer, GCP Stackdriver & GCP Storage scalers
- Introduction of Azure Key Vault as trigger authentication provider
- KEDA is secure-by-default and runs as non-root
- Support for non-public Microsoft Azure clouds
- 19 new contributors
- Deprecation of
metadata.type
is deprecated in favor of the globalmetricType
for CPU, Memory, Datadog scalers (GitHub Discussion)
Learn how to deploy KEDA by reading our documentation.
New
- General: Introduce annotation
"autoscaling.keda.sh/paused-replicas"
for ScaledObjects to pause scaling at a fixed replica count. (#944) - General: Introduce ARM-based container image for KEDA (#2263|#2262)
- General: Introduce new AWS DynamoDB Scaler (#2486)
- General: Introduce new Azure Data Explorer Scaler (#1488|#2734)
- General: Introduce new GCP Stackdriver Scaler (#2661)
- General: Introduce new GCP Storage Scaler (#2628)
- General: Provide support for authentication via Azure Key Vault (#900|#2733)
- General: Support for
ValueMetricType
inScaledObject
for all scalers except CPU/Memory (#2030)
Improvements
- General: Bump dependencies versions (#2978)
- General: Properly handle
restoreToOriginalReplicaCount
ifScaleTarget
is missing (#2872) - General: Support for running KEDA secure-by-default as non-root (#2933)
- General: Synchronize HPA annotations from ScaledObject (#2659)
- General: Updated HTTPClient to be proxy-aware, if available, from environment variables. (#2577)
- General: Using manager client in KEDA Metrics Server to avoid flush request to Kubernetes Apiserver(2914)
- ActiveMQ Scaler: Add CorsHeader information to ActiveMQ Scaler (#2884)
- AWS CloudWatch: Add support to use expressions(#2998)
- Azure Application Insights Scaler: Provide support for non-public clouds (#2735)
- Azure Blob Storage Scaler: Add optional parameters for counting blobs recursively (#1789)
- Azure Event Hub Scaler: Improve logging when blob container not found (#2363)
- Azure Event Hub Scaler: Provide support for non-public clouds (#1915)
- Azure Log Analytics Scaler: Provide support for non-public clouds (#1916)
- Azure Monitor Scaler: Provide support for non-public clouds (#1917)
- Azure Queue: Don't call Azure queue GetProperties API unnecessarily (#2613)
- Datadog Scaler: Validate query to contain
{
to prevent panic on invalid query (#2625) - Datadog Scaler: Several improvements, including a new optional parameter
metricUnavailableValue
to fill data when no Datadog metric was returned (#2657) - Datadog Scaler: Rely on Datadog API to validate the query (2761)
- Graphite Scaler Use the latest non-null datapoint returned by query. (#2625)
- Kafka Scaler: Make "disable" a valid value for tls auth parameter (#2608)
- Kafka Scaler: New
scaleToZeroOnInvalidOffset
to control behavior when partitions have an invalid offset (#2033#2612) - Metric API Scaler: Improve error handling on not-ok response (#2317)
- New Relic Scaler: Support to get account value from authentication resources. (#2883)
- Prometheus Scaler: Check and properly inform user that
threshold
is not set (#2793) - Prometheus Scaler: Support for
X-Scope-OrgID
header (#2667) - RabbitMQ Scaler: Include
vhost
for RabbitMQ when retrieving queue info withuseRegex
(#2498) - Selenium Grid Scaler: Consider
maxSession
grid info when scaling. (#2618)
Deprecations
- CPU, Memory, Datadog Scalers:
metadata.type
is deprecated in favor of the globalmetricType
(#2030)
Breaking Changes
None.
Other
- General: Clean go.mod to fix golangci-lint (#2783)
- General: Consistent file naming in
pkg/scalers/
(#2806) - General: Fix mismatched errors for updating HPA (#2719)
- General: Improve e2e tests reliability (#2580)
- General: Improve e2e tests to always cleanup resources in cluster (#2584)
- General: Internally represent value and threshold as int64 (#2790)
- General: Refactor active directory endpoint parsing for Azure scalers. (#2853)
- AWS CloudWatch: Adding e2e test (#1525)
- AWS DynamoDB: Setup AWS DynamoDB test account (#2803)
- AWS Kinesis Stream: Adding e2e test (#1526)
- AWS SQS Queue: Adding e2e test (#1527)
- Azure Data Explorer: Adding e2e test (#2841)
- Azure Data Explorer: Replace deprecated function
iter.Next()
in favour ofiter.NextRowOrError()
(#2989) - Azure Service Bus: Adding e2e test (#2731|#2732)
- External Scaler: Adding e2e test. (#2697)
- External Scaler: Fix issue with internal KEDA core prefix being passed to external scaler. (#2640)
- GCP Pubsub Scaler: Adding e2e test (#1528)
- Hashicorp Vault Secret Provider: Adding e2e test (#2842)
- Memory Scaler: Adding e2e test (#2220)
- Selenium Grid Scaler: Adding e2e test (#2791)
New Contributors
- @gunniwho made their first contribution in #2611
- @alileza made their first contribution in #2629
- @sergeyshevch made their first contribution in #2659
- @Photonios made their first contribution in #2591
- @yasiboni-max made their first contribution in #2627
- @SushmithaVReddy made their first contribution in #2717
- @v-shenoy made their first contribution in #2727
- @xoanmm made their first contribution in #2763
- @Shitaibin made their first contribution in #2677
- @samueleresca made their first contribution in #2486
- @adborroto made their first contribution in #2774
- @chalin made their first contribution in #2811
- @wltbenade made their first contribution in #2821
- @pragmaticivan made their first contribution in #2898
- @aryan9600 made their first contribution in #2765
- @xphyr made their first contribution in #2924
- @bamboo12366 made their first contribution in #2922
- @joelsmith made their first contribution in #2999
- @dekelev made their first contribution in #2997
Full Changelog: v2.6.1...v2.7.0