@@ -130,20 +130,21 @@ spec:
130
130
<!--
131
131
- Huge page requests must equal the limits. This is the default if limits are
132
132
specified, but requests are not.
133
- - Huge pages are isolated at a container scope, so each container has own limit on their cgroup sandbox as requested in a container spec.
133
+ - Huge pages are isolated at a container scope, so each container has own
134
+ limit on their cgroup sandbox as requested in a container spec.
134
135
- EmptyDir volumes backed by huge pages may not consume more huge page memory
135
136
than the pod request.
136
137
- Applications that consume huge pages via `shmget()` with `SHM_HUGETLB` must
137
138
run with a supplemental group that matches `proc/sys/vm/hugetlb_shm_group`.
138
139
- Huge page usage in a namespace is controllable via ResourceQuota similar
139
- to other compute resources like `cpu` or `memory` using the `hugepages-<size>`
140
- token.
140
+ to other compute resources like `cpu` or `memory` using the `hugepages-<size>`
141
+ token.
141
142
- Support of multiple sizes huge pages is feature gated. It can be
142
143
enabled with the `HugePageStorageMediumSize` [feature
143
144
gate](/docs/reference/command-line-tools-reference/feature-gates/) on the {{<
144
145
glossary_tooltip text="kubelet" term_id="kubelet" >}} and {{<
145
146
glossary_tooltip text="kube-apiserver"
146
- term_id="kube-apiserver" >}} (`--feature-gates=HugePageStorageMediumSize=true `).
147
+ term_id="kube-apiserver" >}} (`--feature-gates=HugePageStorageMediumSize=false `).
147
148
--->
148
149
149
150
- 巨页的资源请求值必须等于其限制值。该条件在指定了资源限制,而没有指定请求的情况下默认成立。
@@ -156,7 +157,7 @@ term_id="kube-apiserver" >}} (`--feature-gates=HugePageStorageMediumSize=true`).
156
157
- 多种尺寸的巨页的支持需要特性门控配置。它可以通过 `HugePageStorageMediumSize` [特性门控](/zh/docs/reference/command-line-tools-reference/feature-gates/)在 {{<
157
158
glossary_tooltip text="kubelet" term_id="kubelet" >}} 和 {{<
158
159
glossary_tooltip text="kube-apiserver"
159
- term_id="kube-apiserver" >}} 中开启(`--feature-gates=HugePageStorageMediumSize=true `)。
160
+ term_id="kube-apiserver" >}} 中开启(`--feature-gates=HugePageStorageMediumSize=false `)。
160
161
161
162
162
163
0 commit comments