Commit Graph

6 Commits

Author SHA1 Message Date
Tim Allclair af49e676b2 Stop using status.AllocatedResources to aggregate resources
Kubernetes-commit: 81df1958196e04f04d038e5ec9e2025989a30b29
2024-10-25 21:18:19 -07:00
Todd Neal f5a7ea080f kubectl: fix describe node output when sidecars are present
Update the resource calculation so that it accumulates the resources
from scheduled pods correctly when those pods contain restartable
init containers.

Kubernetes-commit: 479b2d03a4369b8ae4565ba73850c703331cdcc5
2023-07-21 09:02:11 -05:00
Derek Carr 74ecab5f7e Downward API hugepages
Kubernetes-commit: 45bd6cb186c05eb3a6cdb2cc4927bbcb50a8ff74
2020-11-06 14:22:53 -05:00
Eric Ernst 84f773a30b kubectl: take pod overhead into account
Signed-off-by: Eric Ernst <eric.ernst@intel.com>

Kubernetes-commit: 7922d73f98aa8cc41bb27c3a819c0092bf753bc9
2019-08-25 23:55:56 -07:00
Tim Allclair f6a4bcd4ac Delete duplicate resource.Quantity.Copy()
Kubernetes-commit: 49f50484b898f55c1db1e25b2a9c2bb76fb45a5d
2019-08-19 17:23:14 -07:00
Sally O'Malley 8b8df7887a Move pkg/kubectl/util/resource to staging
Kubernetes-commit: 7e253e1d0e2b32a0cdd0e46be122398e8f9d2750
2019-06-26 09:05:47 -04:00