A toolkit for orchestrating distributed systems at any scale. It includes primitives for node discovery, raft-based consensus, task scheduling and more.
Apache License 2.0
3.38k
stars
616
forks
source link
Add multi-container tasks to share namespaces within services #2291
I am wondering if a tasks can be redefined as not only tied to one container but multiple, which are able to share namespaces (like Kubernetes PODS)?
This would allow for a proxy container (e.g. lyft/envoy, nginx) to do its magic like TLS termination,logging,tracing,... communicating via localhost to a service providing container service.
version: '4'
services:
http:
group:
shared-namespaces: [network]
components:
web:
# service only serving on 127.0.0.1
image: nginx
proxy:
# service proxying 127.0.0.1:80 to 0.0.0.0:8080
image: envoy
ports: [8080:8080]
I am wondering if a tasks can be redefined as not only tied to one container but multiple, which are able to share namespaces (like Kubernetes PODS)?
This would allow for a proxy container (e.g. lyft/envoy, nginx) to do its magic like TLS termination,logging,tracing,... communicating via localhost to a service providing container service.