You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The strategy block of a scaling policy is opaque to Nomad and therefore does not go through validation during job registration. It is the responsibility of the Autoscaler to parse the policy object safely without panics.
Currently the strategy parsing makes some assumptions about the objects underlying types, including that the operator always includes the name parameter within the strategy block. This is a false assumption, and can result a panic when this param is excluded.
The strategy block of a scaling policy is opaque to Nomad and therefore does not go through validation during job registration. It is the responsibility of the Autoscaler to parse the policy object safely without panics.
Currently the strategy parsing makes some assumptions about the objects underlying types, including that the operator always includes the name parameter within the strategy block. This is a false assumption, and can result a panic when this param is excluded.
The text was updated successfully, but these errors were encountered: