Location based deployment


#1

Hello,

is it possible to not specify a certain agent (via name of the agent) but provide some GPS coordinates for the deployment? The Controller then should evaluate the closest agent to the provided location and deploy the service to that agent.


(Pixcell) #2

Hi,

It’s in our mid/long term road map to greatly improve the micorservices scheduling capabilities and flexibility of Controller.

Unfortunately, currently the only option is direct scheduling, using agent name.

However this is an open source project, and we would welcome any PR towards this direction and provide as much support as we can!

In the meantime, you can create your own scheduler microservices, have it run on one specific agent, then use the ioFog SDKs and Controller API to deploy on a specific Agent based on GPS coordinates.

Regards,