Open flannoo opened 7 months ago
Thank you for opening this issue, we will look into it.
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @calvinsID.
Update: it seems my bug report might have been inaccurate.
By default, the azure portal shows/deploys a default scaling rule "http-scaler". But when looking into the scale rule settings, the scale rules are actually empty in the portal as well (so the az cli properly reflects this). When explicitly configuring a custom scale rule in a new revision, the az cli properly returns the custom scale rule.
So I don't think any fixes are needed, the az cli returns custom scaling rules properly. The ARM template doesn't display the default scaling rule either, so it's normal that the az cli also doesn't return this (and only returns custom scaling rules if configured)
So I think this issue can be closed
Describe the bug
The command
az containerapp show
always returns "null" for the scaling rules, even when scaling rules are configured in the container app. I am able to reproduce this in several azure tenants and am on the latest az cli version (2.59.0).Related command
az containerapp show
Errors
N/A
Issue script & Debug output
Deploy a container app and configure a HTTP scaling rule in the "scale" section. Then run the command:
az containerapp show --name "XXXX" --resource-group "XXXX"
This returns:
Expected behavior
I would expect to see rules in the scale object, but it's null:
Environment Summary
az version:
Additional context
No response