Allow us to implement service grid later.
Having those exact dependencies will allow us to inject an another sidecar container, which will consume those dependencies and initiate a special routine like "service-discovery". This special magic is supposed to find a services on a grid which an initial service depends on, so that we could connect different services together event if they requires shared volumes to connect and presumed to be located on a same host
When each service exposes its dependencies it makes things easier to control & troubleshoot additionally.
Allow us to implement service grid later. Having those exact dependencies will allow us to inject an another sidecar container, which will consume those dependencies and initiate a special routine like "service-discovery". This special magic is supposed to find a services on a grid which an initial service depends on, so that we could connect different services together event if they requires shared volumes to connect and presumed to be located on a same host
When each service exposes its dependencies it makes things easier to control & troubleshoot additionally.