Is your feature request related to a problem? Please describe.
The agones-allocator service acts as a reverse proxy, which directs the allocation requests without validation to GameServerAllocation extension APIServer to handle.
agones-allocator and GameServerAllocation can be used for different purpose, and therefore potentially scale differently. In the current model if agones-allocator scales up to handle the increase in the incoming traffic, GameServerAllocation needs to scale up as well to handle traffic from agones-allocator.
Describe the solution you'd like
The allocation logic should be factored out of GameServerAllocation and turned to a stand alone library that both components reference.
Is your feature request related to a problem? Please describe.
The agones-allocator service acts as a reverse proxy, which directs the allocation requests without validation to GameServerAllocation extension APIServer to handle.
agones-allocator and GameServerAllocation can be used for different purpose, and therefore potentially scale differently. In the current model if agones-allocator scales up to handle the increase in the incoming traffic, GameServerAllocation needs to scale up as well to handle traffic from agones-allocator.
Describe the solution you'd like The allocation logic should be factored out of GameServerAllocation and turned to a stand alone library that both components reference.