-
Notifications
You must be signed in to change notification settings - Fork 90
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
Support podman pods #238
Comments
I am in favor of having separate |
Looking at the Podman CLI, it has two things: So we could probably do something similar. |
there's also podman pod ps --ctr-names which shows the pods and the containers in them |
So I gave this a bit of though on paper and here are some ideas/notes:
It would show also
In that case we would not need
@garrett WDYT? |
@marusak Cool! Thanks for sketching all this out! Having the pods view like this might work. However, it strongly reminds me of zones and the firewall page. Originally, when the firewall page introduced zones, I designed it like this too. We changed the zones to actual groups as a result of some usability studies. We might want to rethink this UI too, to make it more like the newer Firewall Zones implementation (that is: grouped). Can containers be in multiple pods? Or just one pod? Are pods used for controlling anything more than networking between grouped containers? Can you start, stop, restart containers together in a pod too? (It does look like you can tell all containers in a pod to perform the same option: http://docs.podman.io/en/latest/pod.html) Does it make more sense to consider these "groups" in the UI? ("Pod" is jargon most people won't know.) We could have a "create pod group" button (note the "pod" in the name, to help people who know that it's called "pod", but also "group" for everyone else) and also have "ungrouped" containers for those not in a pod. |
I've made a mockup based on what we all discussed here and in IRC. It's based on the revised Firewall Zones UI and the mockups I have pending for a rework of the Network page. We'll need to adjust it with a few (minor) changes, but the main concepts are probably correct: By default, there's nothing about pods in the UI (except the button to create a pod group) until a pod is created. So, it would generally function like normal for people who do not use pods. But for those who want to group containers into pods, it should help a lot. |
I also haven't spec'd out all the menus and dropdowns. We can decide what exactly goes there together. I provided one for the containers. Some of the actions would be similar for the pod groups too, including actions (start/stop/restart) and probably delete or remove, depending what happens with the containers inside of a pod. (Are they deleted as well? Or would the pod be removed and the containers are "free" from a pod?) Anyway, I hope this provides a good direction! 😁 |
Thank you @garrett ! This is great, I'll just sum up what we talked about on IRC so it is not forgotten:
Things it misses/are not clear:
|
Fixes cockpit-project#238 Closes cockpit-project#468
Fixes cockpit-project#238 Closes cockpit-project#468
Fixes cockpit-project#238 Closes cockpit-project#468
Right now with pods things get messy in Cock-podman when using pods because the containers are just listed in whatever order, not by pod.
Possible Suggestions:
The text was updated successfully, but these errors were encountered: