I have an orchestra service that tracks running instances and what request they are currently dealing with. If a new instance is required, I make a REST call to expand the instances and wait for the new instance to connect to the orchestra. This is one instance request.
Orchestrator keeps track of what the instance is doing and knows which instances can be stopped, however there is nothing in the API to reduce the number of instances that stop the particular instance, which I am trying to achieve.
Is there anything I can do to manipulate the platform deterministically stopping the instances I want to stop? Perhaps having long HTTP requests to the instances I need and killing the request when it is no longer needed and then calling an API call to reduce the number of instances?
Part of the problem here is that I donβt know the specifics of the current behavior ...
source share