Skip to content

Commit

Permalink
Add option to the Datadog scaler to use the Cluster Agent as proxy (k…
Browse files Browse the repository at this point in the history
…edacore#5496)

* Add new Datadog External scaler to talk to the DCA

Signed-off-by: Ara Pulido <[email protected]>

* Add ability to retrieve a metric value from the DCA

Signed-off-by: Ara Pulido <[email protected]>

* Use datadogmetric naming convention

Signed-off-by: Ara Pulido <[email protected]>

* Merge both Datadog scalers into one

Signed-off-by: Ara Pulido <[email protected]>

* Add authMode to the TriggerAuthentication

Signed-off-by: Ara Pulido <[email protected]>

* Add unit tests for Datadog scaler with Cluster Agent proxy

Signed-off-by: Ara Pulido <[email protected]>

* Fix activation

Signed-off-by: Ara Pulido <[email protected]>

* Add E2E tests for the Datadog scaler using the Cluster Agent proxy

Signed-off-by: Ara Pulido <[email protected]>

* Fixes after rebase

Signed-off-by: Ara Pulido <[email protected]>

* Rearrange Datadog tests

Signed-off-by: Ara Pulido <[email protected]>

* Fix linting errors

Signed-off-by: Ara Pulido <[email protected]>

* Keep token only auth

Signed-off-by: Ara Pulido <[email protected]>

* Remove references to ca metadata

Signed-off-by: Ara Pulido <[email protected]>

* remove trailing space

Signed-off-by: Ara Pulido <[email protected]>

* Add changelog entry for cluster agent as proxy feature

Signed-off-by: Ara Pulido <[email protected]>

* Fix activation parameter for Datadog API

Signed-off-by: Ara Pulido <[email protected]>

* Adjust Datadog test values

Signed-off-by: Ara Pulido <[email protected]>

* Fix typo in Datadog test

Signed-off-by: Ara Pulido <[email protected]>

* Make cluster agent metric server parameter mandatory

Signed-off-by: Ara Pulido <[email protected]>

* Use only service name and namespace to resolve the Cluster Agent service IP

Signed-off-by: Ara Pulido <[email protected]>

* Fix linting issues

Signed-off-by: Ara Pulido <[email protected]>

---------

Signed-off-by: Ara Pulido <[email protected]>
Co-authored-by: Jorge Turrado Ferrero <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
arapulido and JorTurFer committed Oct 7, 2024
1 parent 3f1fd7e commit 0e65a68
Show file tree
Hide file tree
Showing 5 changed files with 844 additions and 55 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ To learn more about active deprecations, we recommend checking [GitHub Discussio
Here is an overview of all new **experimental** features:

- TODO ([#XXX](https://github.com/kedacore/keda/issues/XXX))
- **Datadog Scaler**: Add support to use the Cluster Agent as source of metrics ([#5355](https://github.com/kedacore/keda/issues/5355))

### Improvements

Expand Down
Loading

0 comments on commit 0e65a68

Please sign in to comment.