Hi,
I am creating a dynamic edge network where service migrations are automatically triggered based on different parameters, so I wanted to know if moving a microservice feature will be available through Controller REST API as it would make the automatic system control much easier?
Also, I’ve noticed when triggering move microservice
command that in the output of iofogctl get microservice
command the microservice status is instantly RUNNING and the agent is changed to the new one even though the service is not immediately available on the new agent. After some time it changes status like it should: STOPPING -> DELETING -> RUNNING and then the service is available on the other agent.
It is important for me that I know the exact moment when service is available on the other agent so I can forward the traffic to that agent.
Is there a possibility of modifying this behavior in the future releases?
Also, as I understand, this feature is implemented in a way that the microservice on a prevoius agent is stopped and deleted only after the microservice on a new agent is running (which is great approach for my point of view) so can this be somehow shown when retrieving microservice information?
Thanks in advance!