I’m struggling with publishing ports via the ingress routing mesh:
It seems you can publish to all nodes of the mesh or none, rather than specifying some constraints in a similar way as you can do for services.
I’m aware there is mode: host
but in most cases I’d like to publish to a different node than where the service is running. So bypassing the mesh isn’t really an option, unless I start deploying my own proxies etc.
Is it planned to add (node) constraints to publishing ports? I’m thinking of stuff like node.role==worker
, node.hostname==zeus
, etc.
As a workaround, is it possible to exclude an entire node from the ingress routing mesh, but still have it in the swarm for all other intents and purposes?