delete redundant punctuation

This commit is contained in:
zhangxiaoyu-zidif 2017-11-28 17:11:08 +08:00
parent 01cd73a3de
commit 70c98ce98d
2 changed files with 4 additions and 4 deletions

View File

@ -13,9 +13,9 @@ title: 管理巨页HugePages
{% capture prerequisites %}
1. 为了使节点能够上报巨页容量Kubernetes 节点必须预先分配巨页。
1. 为了使节点能够上报巨页容量Kubernetes 节点必须预先分配巨页。
每个节点只能预先分配一种特定规格的巨页。
1. 用户必须在整个系统中将专用的 **alpha** 特性开关 `HugePages` 设置为 true `--feature-gates="HugePages=true"`。
1. 用户必须在整个系统中将专用的 **alpha** 特性开关 `HugePages` 设置为 true `--feature-gates=HugePages=true`。
节点会自动发现全部巨页资源,并作为可供调度的资源进行上报。
@ -54,7 +54,7 @@ spec:
- 巨页的资源需求和限制必须相等。 该条件在指定了资源限制,而没有指定需求的情况下默认成立。
- 巨页是被隔离在 pod 作用域的,计划在将来的迭代中实现容器级别的隔离。
- 巨页对 EmptyDir 卷提供支持EmptyDir 卷所使用的巨页,不能够超出 pod 请求的内存容量。
- 通过带有 `SHM_HUGETLB``shmget()` 使用巨页的应用,必须运行在一个与
- 通过带有 `SHM_HUGETLB``shmget()` 使用巨页的应用,必须运行在一个与
`proc/sys/vm/hugetlb_shm_group` 匹配的补充组下。
## (待实现的)特性

View File

@ -19,7 +19,7 @@ can consume huge pages and the current limitations.
its huge page capacity. A node may only pre-allocate huge pages for a single
size.
1. A special **alpha** feature gate `HugePages` has to be set to true across the
system: `--feature-gates="HugePages=true"`.
system: `--feature-gates=HugePages=true`.
The nodes will automatically discover and report all huge page resources as a
schedulable resource.