Closed muhamadazmy closed 6 months ago
The vm name must be a vm workload in the same deployment
why the vm workload must be on the same deployment with the gateway agent? We always deploy the vm and think if we need to expose it on a gateway afterward. can't be just on the same node and using the network name and vm's IP as we do on the other gateway workloads?
per here https://github.com/threefoldtech/zos/issues/2167
Where a new gw agent will run on the zos next to the workload that need to be exposed, then that agent will connect to a public and standalone gateway server that then can serve traffic over a reverse proxy
Problem
While ZOS has a built-in support for gateways that becomes available with nodes that has public-config (can be used as access points) it's not always possible to run zos in some envirotments. Hence a some sort of detecated stand-alone gateway solution is needed.
The solution then goes as this
gateway-agent
workload on the same node that hosts his WL.If gateway controller is restarted, it need to delete all configuration for traffek custom names, and wait for agents to reconnect.
it's obvious that this gatewasy agent/server need to have it's own separate repository