-
Notifications
You must be signed in to change notification settings - Fork 43
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
Finalize podman support in conmon-rs #1127
Comments
hi @haircommander @saschagrunert what are some resources (links, code files etc) one can look at to understand this issue much better? |
Hey @validsudoku. I think a good starting point would be to understand how podman uses conmon: https://github.com/containers/podman/blob/295dd262/libpod/oci_conmon_common.go#L51-L68 in comparison to CRI-O: https://github.com/cri-o/cri-o/blob/2fc918d4b/internal/config/conmonmgr/conmonmgr.go#L19-L23 While we have an almost full feature set for CRI-O, we now require to fulfill all requirements for Podman as well. :) |
Hello! @haircommander @saschagrunert I'm very interested in this GSoC project. I already had some experience in Rust programming and the usage of Podman and would like to learn more related to this issue. Hope to join and finish this project. |
For anyone interested in participating in GSoC: registration opens on March 20 and |
If we can get someone to mentor, this seems like a great GSoC project (Not me, I don't rust. :^) |
I am trying to understand the current situation. How I understand it so far:
If I understand it correctly so far, I see two ways for podman to use conmon-rs:
@haircommander Did I miss something? And which way did you have in mind or would you prefer? |
you have a good concept of it! I would definitely favor implementation 2 as it will allow us to use new features that aren't present in conmon easier. One thing of note is cri-o uses pods by default but podman doesn't. we'll need to have a new conmon-rs instance per container (unless those containers are in a pod, which can be a feature later) |
Nice, I also focused my proposal on variant 2.
Edit: No. CRI-O starts one instance of conmon-rs per Pod and can invoke the For Podman: We should do the same optimisation when the pod feature of podman is utilised, but when the containers are created standalone use the the regular one conmon-rs instance per container strategy. |
yes, correct! I figured I'd mention because it differs from the way cri-o is able to do it because it always uses a pod |
Is this issue still open? |
hey @NeerajGartia21 thanks for your interest! yeah @mgjm started the work but didn't manage to finish |
@haircommander Can I contribute to the unfinished task? |
I can try. Do note: it's a fairly complicated issue and it may be easier to start somewhere else. can you message me on kubernetes slack (@haircommander) or email me (pehunt at redhat.com) so I can go over what kind of help you need |
There are a handful of features conmon-rs still lacks that podman will require. This issue will serve as a tracking issue for those remaining pieces
The text was updated successfully, but these errors were encountered: