Support for network_mode: service:
*
#1846
Labels
kind/feature
Categorizes issue or PR as related to a new feature.
network_mode: service:
*
#1846
What would you like to be added?
When a service has
network_mode
of the formservice:
anotherservice, it should be added as a second container into the deployment of anotherservice instead of getting its own deployment. Because this specification means the services will see each other onlocalhost
, which roughly corresponds to being in the same pod in kubernetes.Why is this needed?
I tried to convert https://github.com/dehydr8/elevation-of-privilege/blob/master/docker-compose.yml to Kubernetes, but the resulting manifest can't be used as is, because the two containers are set up so the
client
one, working as reverse proxy forserver
, references the server at three fixed addressesws://localhost:8000
,http://locahost:8001
andhttp://localhost:8002
and if they are started in separate pods, they can't.The text was updated successfully, but these errors were encountered: