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.
 
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.
 
  • Like
Reactions: psalkiewicz
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.