HugePages no resource allocation #140
Replies: 6 comments
-
We saw your email come in earlier today - apologies we weren't able to get you an answer faster. Please stay tuned while we look into this. |
Beta Was this translation helpful? Give feedback.
-
It looks like the pod spec doesn't specify requests/limits for hugepages. Something like:
("Huge page requests must equal the limits. This is the default if limits are specified, but requests are not.") |
Beta Was this translation helpful? Give feedback.
-
![]() When I run When I checked a generation 1 server, I also get zero allocatable hugepages ![]() |
Beta Was this translation helpful? Give feedback.
-
![]() Also get this insufficient huge pages error and pods refuse to schedule |
Beta Was this translation helpful? Give feedback.
-
Which Helm chart are you trying to deploy? |
Beta Was this translation helpful? Give feedback.
-
It’s a proprietary C++ application, built on top of generic Ubuntu container. Not using helm, directly deployed as Kubernetes Deployment with kubectl. The issue I see is with the nodes in the cluster, are not pre allocating any huge pages resources. This should be part of the node config in my opinion, like how the CNI and Kubernetes version can be chosen, this is a setting that is very important for high performance server tuning |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
We are having an issue that our pod doesn't have acccess to HugePages feature in kubernetes:
Warning FailedMount 4s (x7 over 35s) kubelet MountVolume.SetUp failed for volume "hugepage-2mi" : medium HugePages-2Mi: hugePages storage requested, but there is no resource request for huge pages
Warning FailedMount 4s (x7 over 35s) kubelet MountVolume.SetUp failed for volume "hugepage-1gi" : medium HugePages-1Gi: hugePages storage requested, but there is no resource request for huge pages
https://kubernetes.io/docs/tasks/manage-hugepages/scheduling-hugepages/
We are following this guide from official kubernetes.
Beta Was this translation helpful? Give feedback.
All reactions