Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide scaler for Azure Data Explorer #1488

Closed
tomkerkhove opened this issue Jan 7, 2021 · 12 comments
Closed

Provide scaler for Azure Data Explorer #1488

tomkerkhove opened this issue Jan 7, 2021 · 12 comments
Assignees
Labels
help wanted Looking for support from community needs-discussion scaler

Comments

@tomkerkhove
Copy link
Member

A clear and concise description of what scaler you'd like to use and how you'd want to use it:

@yasiboni-max
Copy link
Contributor

It's a really good improvement. I'd like to work on this one.

@tomkerkhove
Copy link
Member Author

Awesome, thanks a ton @yasiboni-max!

@RamCohen
Copy link
Contributor

Hi. Was there any progress made ?
Would like to take this on.

@tomkerkhove
Copy link
Member Author

I haven't heard from @yasiboni-max so if you'd like to work on it - Be my guest!

Ok for you @yasiboni-max ?

@yasiboni-max
Copy link
Contributor

yasiboni-max commented Jan 31, 2022

@tomkerkhove I actually finished the implementation, but then I saw that you asked to use the SDK so I started to do so.
Currently I have an issue with passing a predefined query to kusto client.

@yasiboni-max
Copy link
Contributor

yasiboni-max commented Jan 31, 2022

I'm looking for a workaround for this issue so I'll be able to complete this PR entirely.
@tomkerkhove - as far as you concern, do I have to use Kusto SDK or would it be possible to implement light Rest client for this?

@RamCohen
Copy link
Contributor

RamCohen commented Jan 31, 2022 via email

@yasiboni-max
Copy link
Contributor

yasiboni-max commented Feb 2, 2022

Hi @tomkerkhove, my e2e test requires some setup in the subscription that being used for that:

  • Kusto cluster
  • Kusto database
  • Assign the necessary role to the AAD app & MSI that pod identity use
  • Expose few values as environment variables.

Can you please elaborate with the right procedure to do so? I didn't find (or missed) the guidelines in the contribution guide for that.

@tomkerkhove
Copy link
Member Author

We don't allow contributors to do this for now but if you can provide some more information then I'm happy to do everything that is required.

yasiboni-max pushed a commit to yasiboni-max/keda that referenced this issue Feb 12, 2022
Signed-off-by: Yarden Siboni <yardensib@gmail.com>
yasiboni-max pushed a commit to yasiboni-max/keda that referenced this issue Feb 12, 2022
Signed-off-by: Yarden Siboni <yardensib@gmail.com>
yasiboni-max pushed a commit to yasiboni-max/keda that referenced this issue Feb 12, 2022
Signed-off-by: Yarden Siboni <yardensib@gmail.com>
yasiboni-max pushed a commit to yasiboni-max/keda that referenced this issue Feb 12, 2022
Signed-off-by: Yarden Siboni <yardensib@gmail.com>
@yasiboni-max
Copy link
Contributor

yasiboni-max commented Feb 12, 2022

Sure, no problem. Few requirements for e2e:

  • Provision Data Explorer Cluster.
  • Create Database inside that cluster.
  • Assign "Database viewer" role to AAD app & MSI that pod identity use (link).
  • Expose database name as env var "TEST_DATA_EXPLORER_DB" in e2e environment.
  • Expose cluster endpoint uri as env var "TEST_DATA_EXPLORER_ENDPOINT" in e2e environment.

Edit: Alternatively, you can send me database name and cluster endpoint and I'll add them to e2e test files

keda pr: #2627
keda-docs pr: kedacore/keda-docs#658

yasiboni-max pushed a commit to yasiboni-max/keda that referenced this issue Feb 12, 2022
Signed-off-by: Yarden Siboni <yasiboni@microsoft.com>
yasiboni-max pushed a commit to yasiboni-max/keda that referenced this issue Feb 13, 2022
Signed-off-by: Yarden Siboni <yasiboni@microsoft.com>
yasiboni-max pushed a commit to yasiboni-max/keda that referenced this issue Feb 13, 2022
Signed-off-by: Yarden Siboni <yasiboni@microsoft.com>
tomkerkhove added a commit to tomkerkhove/keda that referenced this issue Feb 15, 2022
Relates to kedacore#1488

Signed-off-by: Tom Kerkhove <kerkhove.tom@gmail.com>
@tomkerkhove
Copy link
Member Author

e2e variables are added in #2643 but with different names.

Do note that the URI is currently the URI and not the Data Ingestion URI:
image

yasiboni-max pushed a commit to yasiboni-max/keda that referenced this issue Mar 11, 2022
Signed-off-by: Yarden Siboni <yasiboni@microsoft.com>
tomkerkhove pushed a commit that referenced this issue Mar 14, 2022
Co-authored-by: Yarden Siboni <yasiboni@microsoft.com>
@tomkerkhove
Copy link
Member Author

Thank you for the contribution @yasiboni 🎉

RamCohen pushed a commit to RamCohen/keda that referenced this issue Mar 23, 2022
Co-authored-by: Yarden Siboni <yasiboni@microsoft.com>
Signed-off-by: Ram Cohen <ram.cohen@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Looking for support from community needs-discussion scaler
Projects
Archived in project
Development

No branches or pull requests

3 participants