agones icon indicating copy to clipboard operation
agones copied to clipboard

Incorrent metric 'agones_fleet_autoscalers_buffer_limits' when use in chain policy with multiple schedules

Open txuna opened this issue 1 month ago • 1 comments

What happened:

in fleetautoscaler Incorrent metric 'agones_fleet_autoscalers_buffer_limits' when use in chain policy with multiple schedules

What you expected to happen:

maxReplicas defined in the schedule

How to reproduce it (as minimally and precisely as possible):

chain policy with multiple schedules (with buffer policy)

policy:
   type: chain
   buffer:
       maxReplicas: 5
   chain:
    - id: "1"
       type: schedule
      [...]
      policy:
         type: Buffer
         buffer:
             maxReplicas: 100

At this time, a bug occurs in which the maxReplicas(5) {not 100} of the defined buffer policy is used even if the type is chain.

Anything else we need to know?:

Environment:

  • Agones version: 1.53.0

txuna avatar Nov 28 '25 02:11 txuna

Thanks for reporting! Would love some more details -

  • Is it possible to get a full way to replicate the error? Would make this far easier to debug and work out what's going wrong.
  • On top of that, can we get some actual numbers of what fleet counts and autoscaling you see, and what the metric numbers you see?

This'll mean less experimenting in an attempt to reproduce 👍🏻

markmandel avatar Nov 29 '25 03:11 markmandel