Skip to content
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

Create a pod of containers sharing volume #116

Closed
surajssd opened this issue Aug 20, 2016 · 2 comments
Closed

Create a pod of containers sharing volume #116

surajssd opened this issue Aug 20, 2016 · 2 comments
Assignees

Comments

@surajssd
Copy link
Member

Right now the way we do conversion is more of one to one mapping. But when two services/containers share volume in docker-compose file we need to put those two containers in a single pod and make them share volume on kubernetes as well.

for e.g.: the following two services should be wound up into a single pod, by which I mean we will only create one deployment, which has one pod and both of those containers, and single service on top of them, if ports provided:

version: '2'

services:
  db:
    image: postgres
    volumes:
      - data:/var/lib/postgresql/data

  foosvc:
    image: foosvcimage
    volumes:
      - data:/var/lib/my/mount/point

volumes:
  data:
    external: true
@surajssd surajssd self-assigned this Aug 20, 2016
@ngtuna
Copy link
Contributor

ngtuna commented Aug 20, 2016

That would be great if you can take it. I filed this issue before but have never tried. #14

@surajssd
Copy link
Member Author

@ngtuna oops sorry for the duplicate will close this, will work on #14 !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants