when group by `namespace` first, the namespace is not displayed
davidB opened this issue · comments
David Bernard commented
❯ kubectl view-allocations -u -g namespace -g resource -g node
Resource Utilization Requested Limit Allocatable Free
├─ cpu 5.0m __ __ __ __
│ ├─ ip-10-132-40-69.eu-central-1.compute.internal 1.0m __ __ __ __
│ └─ ip-10-132-41-138.eu-central-1.compute.internal 4.0m __ __ __ __
├─ memory 105.1Mi __ __ __ __
│ ├─ ip-10-132-40-69.eu-central-1.compute.internal 37.6Mi __ __ __ __
│ └─ ip-10-132-41-138.eu-central-1.compute.internal 67.5Mi __ __ __ __
└─ pods __ 2.0 2.0 __ __
├─ ip-10-132-40-69.eu-central-1.compute.internal __ 1.0 1.0 __ __
└─ ip-10-132-41-138.eu-central-1.compute.internal __ 1.0 1.0 __ __
├─ cpu 4.0m __ __ __ __
│ ├─ ip-10-132-39-85.eu-central-1.compute.internal 2.0m __ __ __ __
│ └─ ip-10-132-41-138.eu-central-1.compute.internal 2.0m __ __ __ __
├─ memory 251.3Mi __ __ __ __
│ ├─ ip-10-132-39-85.eu-central-1.compute.internal 79.7Mi __ __ __ __
But namespace is display if namespaces is used in last group