-
Notifications
You must be signed in to change notification settings - Fork 3.4k
containerapp update removes existing scale rules #32409
Copy link
Copy link
Closed
Labels
Auto-AssignAuto assign by botAuto assign by botContainerAppService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botContainerAppService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.customer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Describe the bug
Containerapp with kind = functionapp.
Scale triggers are automatically handled by the function host.
When issuing command:
all existing scale rules are removed. This causes an issue, as the azure function host checks a hash on blob storage, and if the hash is the same, it doesn't perform a synctriggers, to re-create the rules.
I effectively end up with a non-functioning containerapp every time I deploy.
The only workaround I have found it to go and manually delete the blob that contains the hash, and restart the containerapp.
Related command
Errors
No errors, output shows rules removed.
Issue script & Debug output
"scale": ***
"cooldownPeriod": 300,
"maxReplicas": 3,
"minReplicas": 0,
"pollingInterval": 30,
"rules": null
***,
Expected behavior
Expect existing scale rules to not be deleted on az containerapp update.
Environment Summary
azure-cli available on github runner (ubuntu-latest)
Additional context
No response