Skip to content

[containerapp] az containerapp update with --max-replicas 0 returns no error #5067

@snobu

Description

@snobu

az containerapp update -n ContainerAppName -g ResourceGroup --min-replicas 0 --max-replicas 0 finishes without throwing any error, however scaling configuration is not updated as max replicas cannot be zero.

$ az version
{
  "azure-cli": "2.37.0",
  "azure-cli-core": "2.37.0",
  "azure-cli-telemetry": "1.0.6",
  "extensions": {
    "containerapp": "0.3.5",
  }
}

Metadata

Metadata

Assignees

Labels

Auto-AssignAuto assign by botCXP AttentionThis issue is handled by CXP team.ContainerAppbugThis issue requires a change to an existing behavior in the product in order to be resolved.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions