-
Notifications
You must be signed in to change notification settings - Fork 33
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
Azure Container App Job Bicep Template Validation does not fit to Keda Azure Pipelines Trigger Specification #914
Comments
https://keda.sh/docs/2.9/scalers/azure-pipelines/ Whereas https://keda.sh/docs/2.10/scalers/azure-pipelines/ The problem here is likely to do with Microsoft not disclosing which version of KEDA is in use behind the scenes. Versions of KEDA come out frequently and scalers seems to have breaking changes with each new version. It's basically impossible to know what to do without pure trial and error and a lot of guesswork. I have the same problem with GitHub Runner scaler. I cannot work out which version Container Apps is using. My gut feel is it's currently |
Hi, in Container Apps and Container Apps Jobs, scaler metadata is passed as string in all cases. Looking at the Azure Pipelines Scaler code, it seems that it is parsing to |
@owattley-rotageek: you can check the @fl-lutz: Looks like there was fix for this particular scaler: kedacore/keda#4404 which went in KEDA 2.11 release (https://github.com/kedacore/keda/releases/tag/v2.11.0) Container Apps currently uses KEDA 2.10. |
We will rollout 2.11 in the next couple of weeks. |
@vinisoto may I kindly ask about an update regarding 2.11? The "requireAllDemands" functionality is something we would definitely need and until now, I still only see the version 2.10 in our Azure Container Environment. |
@DSpirit rollout started last week. We are expecting to complete it by the week of 12/11. By the way, we are upgrading to KEDA 2.12 |
Support for KEDA 2.12 has now been rolled out globally. Closing this issue thanks @fl-lutz for your patience here. |
This issue is a:
Issue description
When deploying a container app job through a bicep template, it is not feasible to configure the scale rule metadata value "requireAllDemands" as a bool, as documented in the Keda Azure Pipelines Trigger. The Keda Scaler disregards the value if set as a string, rendering it ineffective.
Steps to reproduce
Expected behavior
It deploys the Container App Job with the metadata field "requireAllDemands".
Actual behavior
Invalid request body for container apps job. Does not conform to Container Apps Job schema, please visit for more information https://docs.microsoft.com/azure/container-apps/azure-resource-manager-api-spec?tabs=arm-template#container-app
The deployment validation failed
Screenshots
Documentation of Keda Azure Pipelines Trigger:
The text was updated successfully, but these errors were encountered: