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

Shared volumes, like in Kubernetes Pod #10379

Closed
PavelSosin-320 opened this issue May 18, 2021 · 10 comments · Fixed by #11409
Closed

Shared volumes, like in Kubernetes Pod #10379

PavelSosin-320 opened this issue May 18, 2021 · 10 comments · Fixed by #11409
Assignees
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. pods

Comments

@PavelSosin-320
Copy link

Is this a BUG REPORT or FEATURE REQUEST? (leave only one on its own line)

/kind feature
or only Idea
Description
Enable to create shared volumes at the Pod level like in the Kubernetes Pod

Currently, Podman volumes can be shared via podman run --mounts-from, i.e only at the container level. On other hand, Kubernetes allows share volumes uniformly mounted by all Pod's containers. I would prefer to mount Podman volumes at the Pod level using
either podman volume create --pod mount-point.
or podman volume create & podman pod create --volume volume:mount-point --volume,..
what is easy for implementation.
Steps to reproduce the issue:

Describe the results you received:

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Output of podman version:

(paste your output here)

Output of podman info --debug:

(paste your output here)

Package info (e.g. output of rpm -q podman or apt list podman):

(paste your output here)

Have you tested with the latest version of Podman and have you checked the Podman Troubleshooting Guide? (https://github.com/containers/podman/blob/master/troubleshooting.md)

Yes/No

Additional environment details (AWS, VirtualBox, physical, etc.):

@openshift-ci openshift-ci bot added the kind/feature Categorizes issue or PR as related to a new feature. label May 18, 2021
@rhatdan
Copy link
Member

rhatdan commented May 18, 2021

Seems reasonable, interested in opening a PR?
@haircommander @umohnani8 WDYT?

@haircommander
Copy link
Collaborator

yes this makes sense to me! moves podman pods more towards a pod as a logical host

@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented Jul 9, 2021

@cdoern At some point might want to look at this.

@rhatdan rhatdan added the Good First Issue This issue would be a good issue for a first time contributor to undertake. label Jul 9, 2021
@cdoern
Copy link
Contributor

cdoern commented Jul 9, 2021

@rhatdan yeah this looks cool! also want to give that buildah issue a try since I haven't worked on anything there yet,

@cdoern cdoern self-assigned this Jul 12, 2021
@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@cdoern
Copy link
Contributor

cdoern commented Aug 12, 2021

working on this, contingent on #10933 which is the infra container rework

cdoern added a commit to cdoern/podman that referenced this issue Sep 3, 2021
added support for the --volume flag in pods using the new infra container design.
users can specify all volume options they can with regular containers

resolves containers#10379

Signed-off-by: cdoern <cdoern@redhat.com>
@github-actions
Copy link

A friendly reminder that this issue had no activity for 30 days.

@rhatdan
Copy link
Member

rhatdan commented Sep 13, 2021

@cdoern any update on this issue?

@cdoern
Copy link
Contributor

cdoern commented Sep 13, 2021

yep @rhatdan this is what #11409 deals with. Should be merged soon

cdoern added a commit to cdoern/podman that referenced this issue Sep 14, 2021
added support for the --volume flag in pods using the new infra container design.
users can specify all volume options they can with regular containers

resolves containers#10379

Signed-off-by: cdoern <cdoern@redhat.com>
@github-actions github-actions bot added the locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. label Sep 21, 2023
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Good First Issue This issue would be a good issue for a first time contributor to undertake. kind/feature Categorizes issue or PR as related to a new feature. locked - please file new issue/PR Assist humans wanting to comment on an old issue or PR with locked comments. pods
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants