Skip to content

Commit 7ea4685

Browse files
committed
[zh-cn] sync network-plugins labels
Signed-off-by: xin.li <[email protected]>
1 parent a7f6e54 commit 7ea4685

File tree

2 files changed

+8
-5
lines changed

2 files changed

+8
-5
lines changed

content/zh-cn/docs/concepts/extend-kubernetes/compute-storage-net/network-plugins.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,15 @@ weight: 10
1616
<!-- overview -->
1717

1818
<!--
19-
Kubernetes {{< skew currentVersion >}} supports [Container Network Interface](https://github.com/containernetworking/cni)
19+
Kubernetes (version 1.3 through to the latest {{< skew latestVersion >}}, and likely onwards) lets you use
20+
[Container Network Interface](https://github.com/containernetworking/cni)
2021
(CNI) plugins for cluster networking. You must use a CNI plugin that is compatible with your
2122
cluster and that suits your needs. Different plugins are available (both open- and closed- source)
2223
in the wider Kubernetes ecosystem.
2324
-->
24-
Kubernetes {{< skew currentVersion >}} 支持用于集群联网的[容器网络接口](https://github.com/containernetworking/cni)(CNI)插件。
25+
Kubernetes(1.3 版本至最新 {{< skew latestVersion >}},并可能包括未来版本)
26+
允许你使用[容器网络接口](https://github.com/containernetworking/cni)(CNI)
27+
插件来完成集群联网。
2528
你必须使用和你的集群相兼容并且满足你的需求的 CNI 插件。
2629
在更广泛的 Kubernetes 生态系统中你可以使用不同的插件(开源和闭源)。
2730

content/zh-cn/docs/concepts/overview/working-with-objects/labels.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -244,11 +244,11 @@ excluding `frontend` using the comma operator: `environment=production,tier!=fro
244244

245245
<!--
246246
One usage scenario for equality-based label requirement is for Pods to specify
247-
node selection criteria. For example, the sample Pod below selects nodes with
248-
the label "`accelerator=nvidia-tesla-p100`".
247+
node selection criteria. For example, the sample Pod below selects nodes where
248+
the `accelerator` label exists and is set to `nvidia-tesla-p100`.
249249
-->
250250
基于等值的标签要求的一种使用场景是 Pod 要指定节点选择标准。
251-
例如,下面的示例 Pod 选择带有标签 "`accelerator=nvidia-tesla-p100`"
251+
例如,下面的示例 Pod 选择存在 `accelerator` 标签且值为 `nvidia-tesla-p100` 的节点
252252

253253
```yaml
254254
apiVersion: v1

0 commit comments

Comments
 (0)