New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multi-container tasks to share namespaces within services #2291

Open
ChristianKniep opened this Issue Jun 28, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@ChristianKniep

ChristianKniep commented Jun 28, 2017

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]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment