mirror of
https://github.com/devnullvoid/pvetui.git
synced 2026-04-25 05:15:51 +03:00
[GH-ISSUE #49] Single nodes question #8
Labels
No labels
bug
bug
documentation
enhancement
pull-request
question
question
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/pvetui#8
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @tdtmusic2 on GitHub (Nov 21, 2025).
Original GitHub issue: https://github.com/devnullvoid/pvetui/issues/49
Originally assigned to: @devnullvoid on GitHub.
Hello. This is not an issue, rather a question or a feature request, if possible. Can your app have one conection profile with multiple SINGLE nodes? As in not a cluster? It would be so easy to have an overall look at all nodes without having to create a connection profile for each one, since they're not in clusters.
Thank you!
@devnullvoid commented on GitHub (Nov 23, 2025):
Hey, thanks for the question/feature request. Implementing a "multi-node" profile would be a bit complex. We'd need to handle multiple API clients alive at the same time, merged inventories, error handling per node, etc.
Does Proxmox Datacenter Manager work for your use case? I imagine it does. It may be a useful for me to reference in implementing this feature.
@tdtmusic2 commented on GitHub (Nov 23, 2025):
Hello. Thank you for your answer. Yes, PDM works fine in my scenario, there are about 13 single nodes added in it and no issues yet. But I would love to use your terminal instead, with all the nodes into a single configuration. At first, from the screenshots, I thought that's how it works, I missed the Cluster label :)
As a separate question, does the terminal have some sort of "read-only" mode? Where you can just view nodes & guests info but you are not allowed to do any potential damage?
@devnullvoid commented on GitHub (Nov 23, 2025):
thanks for the details! For now, you can add multiple connection profiles and swap between as needed, but I will look into adding support for a multi-cluster/multi-node "overview" mode.
No "read-only" mode currently, but that is also a good idea. We should be able to use Proxmox's permissions/roles API to to do this -- enabling/disabling functionality depending on what permissions the user has.
@ocafebabe commented on GitHub (Dec 1, 2025):
+1 for multiple single-node support.
@devnullvoid commented on GitHub (Dec 1, 2025):
Since the Proxmox API considers even a standalone node as a "cluster" I'm thinking I'll implement this by adding an
aggregatefield to the connection profile, which can be used to group them together. Then we will need an API client for each profile and state tracking/routing to each one.I'm working on a full implementation plan. I'll also need to spin up some nested nodes for testing.
@devnullvoid commented on GitHub (Dec 3, 2025):
@tdtmusic2 and @ocafebabe would you be willing to assist with testing this feature? I can have something ready for testing very soon.
@tdtmusic2 commented on GitHub (Dec 3, 2025):
Sure, anytime. I can test on Windows and Alma 10 for now.
@ocafebabe commented on GitHub (Dec 3, 2025):
@devnullvoid yes, of course. Very eager to test this!
@devnullvoid commented on GitHub (Dec 3, 2025):
awesome! I've just pushed what I have so far to the
developbranch. You can install withgo install github.com/devnullvoid/pvetui/cmd/pvetui@developThen you should be able to add a group name in your config file to each profile you want to group together:
@ocafebabe commented on GitHub (Dec 4, 2025):
Hi,
I've tested the latest build, but I'm not sure the new behavior matches what was expected.
I'd prefer not to group my different PVE servers under a single “aggregate” name, as each belongs to its own group (or single-node cluster). My understanding was that the new version would allow us to select multiple clusters—whether they are single-node or multi-node.
Thanks!
@devnullvoid commented on GitHub (Dec 4, 2025):
Hey, Thanks for the feedback. Can you help me understand so we're on the same page?
We currently have connection profiles that allow for connecting to either a single node or a single cluster at a time and switching between them. Incidentally, when a node is part of a cluster, the API combines all of their data so any single node's endpoint can be used to manage the entire cluster.
pvesh get /cluster/resourcesIf you run that on a standalone node or a clustered node, it returns all of the resources.
The new functionality allows for connecting to multiple nodes/clusters at a time to manage all of their assets at once.
Once that is working, I would add the ability to put each profile into multiple "aggregate" groups.
Ex:
Profile A - PVE Node A
Profile B - PVE Node B
Profile C - PVE Cluster 1 (PVE Nodes C, D, E)
Profile D - PVE Cluster 2 (PVE Nodes F, G, H)
Aggregate Profile A: A + C (A, C, D, E)
Aggregate Profile B: B + D (B, F, G, H)
Aggregate Profile C: A + B (A, B)
Aggregate Profile D: A + B + C (A, B, C, D, E)
etc...
@ocafebabe commented on GitHub (Dec 4, 2025):
My bad — I expected the new version to include a “Cluster” selector for both single and multi-node setups.
Right now, I can press g then p and choose the connection profile I want (which corresponds to a single-node cluster).
Is this the intended new behaviour?
@devnullvoid commented on GitHub (Dec 4, 2025):
this is what you should see in the dev version:
Admittedly, the UI for this could use some improvement while I'm at it -- suggestions welcome!
@devnullvoid commented on GitHub (Dec 4, 2025):
are you asking for ad-hoc multi-select of existing profiles without the need to assign them to groups? that's also a possibility
@ocafebabe commented on GitHub (Dec 4, 2025):
No the current functionality is great. Would it be possible to sort the aggregated groups alphabetically?
@devnullvoid commented on GitHub (Dec 4, 2025):
yes, absolutely! Also, I'm going to move away from "aggregate" and use "groups" instead.
So in config.yml you'll have a profile with:
@devnullvoid commented on GitHub (Dec 7, 2025):
released the new functionality. Let me know if there are any issues!