Nested Tree View for Pools on the Web GUI

CGjung

New Member
Apr 9, 2026
2
0
1
Hi all,

in our company we will use ProxMox to manage a not so small amount of Virtual Machines with ProxMox.
Therefore it was essential to have some kind of nested tree view in the Gui to keep an overview.

I created a js file, which can be implemented to overwrite some methods in the pvemanager to get it working.
So, if you define Poolnames with a Slash, they will be then treated as a "Sub"-Pool in the GUI e.g.

MyProject
-> MyProject/Test
-> MyProject/Dev

To get it working, just copy the content of attached zip (custom.js and NestedTreePool.js) to /usr/share/pve-manager/js
Add in the file index.html.tpl (which is located at /usr/share/pve-manager/) <script type="text/javascript" src="/pve2/js/custom.js"></script> inside the <head> Tag.

Thats all.
@proxmox Team. Would be great if this solution will find the way in the next releases. thx.
 

Attachments

Support for nested pools was added in PVE 8.1, allowing up to 3 levels of nesting for greater flexibility in structuring VMs and containers. Pool names can contain at most two slashes, structured as parent/child/grandchild.
 
  • Like
Reactions: fba and CGjung
The UI for nested pools was introduced not that long ago; in pve-manager 9.1.5:

Code:
pve-manager (9.1.5) trixie; urgency=medium

  [..]

  * ui: resource tree: don't show empty grouping nodes as expandable.

  * ui: resource tree: show nested pools as actual child nodes of their parent
    pool and in turn drop rendering their parent path prefix.
 
Just curious as to how nested pools are supposed to be setup? I have a 9.1.7 cluster and don't see any way of easily creating nested pools.
 
Just curious as to how nested pools are supposed to be setup? I have a 9.1.7 cluster and don't see any way of easily creating nested pools.

Like @psalkiewicz already described:
Pool names can contain at most two slashes, structured as parent/child/grandchild.


Access control
  • Support nested pools up to a nesting depth of 3 levels for greater flexibility in structuring VMs and containers (issue 1148).
    Pool names can now contain at most two slashes (allowing to structure them as parent/child/grandchild).​
    Permissions are inherited along the path according to the usual inheritance rules.​
https://pve.proxmox.com/wiki/Roadmap#Proxmox_VE_8.1


@cheiss:
Is this somewhere mentioned/described in the documentation?
I could not find anything. (Which, of course, means nothing. :D)
 
  • Like
Reactions: cheiss
Is this somewhere mentioned/described in the documentation?
Just looked again to be sure, but unfortunately no, not that I could see.
Resource pools are indeed a bit underdocumented, that's for sure.

You can create a ticket on our Bugzilla for that, though. Helps us to track it and improve documentation on that part :)