azureazure-container-apps

Scale Azure container app based on memory


Is it possible to scale azure container app based on memory consuption? Docs says it is possible via custom rule, but i only see this under custom option: enter image description here


Solution

  • Try something like

    scale configuration for memory based scaling

    in this example:

    type: utilization means you want to scale based on usage percentage of the requested amount. so

    type: utilization
    value: 70
    

    means to scale until the average utilization across instances is below 70%.

    you can also do

    type: averageValue
    value: 1Gi
    

    means to scale until the average usage across instances is below 1 gigabyte.