However, when the ports mapping is the same for each instance of the service, it would be nice to define ports mapping at service level. We did refactor the ports mapping to service level and did not receive error when maestro parsed the yaml. It took us a while to notice that ports mapping only apply to instance level.
Currently maestro only supports ports mapping defined in service 'instance' level.
http://maestro-ng.readthedocs.org/en/latest/port_mapping.html
However, when the ports mapping is the same for each instance of the service, it would be nice to define ports mapping at service level. We did refactor the ports mapping to service level and did not receive error when maestro parsed the yaml. It took us a while to notice that ports mapping only apply to instance level.
versus