-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
feat: Introduce activationThreshold/minMetricValue for Azure scalers #3383
feat: Introduce activationThreshold/minMetricValue for Azure scalers #3383
Conversation
/run-e2e azure* |
/run-e2e azure* |
/run-e2e azure* |
/run-e2e azure* |
/run-e2e azure* |
33e1826
to
51402f8
Compare
/run-e2e pipelines |
I have migrated app-insights and az-pipelines e2e. Only Azure Monitor and Azure EventHub left because they didn't have e2e test, do you think that it's worth to add them from scratch in this PR @zroubalik ? |
There is a spelling error related with e2e environment variables . Once this PR is ready to merge, I'll update those variables to correct the error before merging (if I correct them now, e2e test will fail due to missing envs) |
/run-e2e azure* |
/run-e2e azure* |
/run-e2e azure* |
/run-e2e azure* |
/run-e2e azure* |
/run-e2e azure* |
I think we can keep it for another PR. |
This PR is ready to review in that case 😄 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looking good, just a minor nit, using 1
instead of a
is imho more explicit and clear on a quick look, even though it has the same meaning.
tests/scalers_go/azure_application_insights/azure_application_insights_test.go
Outdated
Show resolved
Hide resolved
@JorTurFer could you please also rebase, I think I have fixed bunch of these |
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
29a7c41
to
7a12cdb
Compare
/run-e2e azure* |
done the rebase and updated the code :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, great job!
Signed-off-by: Jorge Turrado <[email protected]>
Signed-off-by: Jorge Turrado <[email protected]>
I have added the test case to every already existing e2e tests except in app-insights. They are quite complex and I need to review it with calm (or maybe wait till anyone migrates it)All azure e2e test have been migrated to golang and updated to cover this new cases. Azure Monitor and Azure Event Hub haven't been done because there were already existing e2e test.
In Azure Application Inisghts, I had to use goroutines to keep the value alive in order to query it from Azure service, I have tried several things but other options produce flaky tests, this seems more reliable. There were several configurations tested in typescript e2e test, but they are basically the same with different TriggerAuthentication configurations (secrets, envs, aad-pod), due to we don't have aad-pod-identity deployed in our clusters and secrets/envs are quite similar, I have migrated only the e2e that uses secrets
Checklist
Fixes #3259
Fixes #3228
Related to #2800
Related to kedacore/keda-docs#818