Skip to content

Commit 0d9baec

Browse files
authored
Merge pull request #25154 from tengqm/zh-sync-10
[zh] Sync changes from English site (10)
2 parents 0468384 + f42b28f commit 0d9baec

File tree

4 files changed

+202
-155
lines changed

4 files changed

+202
-155
lines changed

content/zh/docs/tasks/administer-cluster/network-policy-provider/cilium-network-policy.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,24 @@ content_type: task
44
weight: 20
55
---
66

7+
<!--
8+
reviewers:
9+
- danwent
10+
- aanm
11+
title: Use Cilium for NetworkPolicy
12+
content_type: task
13+
weight: 20
14+
-->
15+
716
<!-- overview -->
817
<!--
918
This page shows how to use Cilium for NetworkPolicy.
1019
11-
For background on Cilium, read the [Introduction to Cilium](https://cilium.readthedocs.io/en/latest/intro).
20+
For background on Cilium, read the [Introduction to Cilium](https://docs.cilium.io/en/stable/intro).
1221
-->
1322
本页展示如何使用 Cilium 提供 NetworkPolicy。
1423

15-
关于 Cilium 的背景知识,请阅读 [Cilium 介绍](https://cilium.readthedocs.io/en/latest/intro)
24+
关于 Cilium 的背景知识,请阅读 [Cilium 介绍](https://docs.cilium.io/en/stable/intro)
1625

1726
## {{% heading "prerequisites" %}}
1827

@@ -86,22 +95,22 @@ deployment.apps/cilium-operator created
8695
The remainder of the Getting Started Guide explains how to enforce both L3/L4
8796
(i.e., IP address + port) security policies, as well as L7 (e.g., HTTP) security
8897
policies using an example application.
89-
-->
98+
-->
9099
入门指南其余的部分用一个示例应用说明了如何强制执行 L3/L4(即 IP 地址+端口)的安全策略
91100
以及L7 (如 HTTP)的安全策略。
92101

93102
<!--
94103
## Deploying Cilium for Production Use
95104
96105
For detailed instructions around deploying Cilium for production, see:
97-
[Cilium Kubernetes Installation Guide](https://cilium.readthedocs.io/en/latest/gettingstarted/#installation)
106+
[Cilium Kubernetes Installation Guide](https://docs.cilium.io/en/stable/concepts/kubernetes/intro/)
98107
This documentation includes detailed requirements, instructions and example
99108
production DaemonSet files.
100109
-->
101110
## 部署 Cilium 用于生产用途
102111

103112
关于部署 Cilium 用于生产的详细说明,请见
104-
[Cilium Kubernetes 安装指南](https://cilium.readthedocs.io/en/latest/gettingstarted/#installation)
113+
[Cilium Kubernetes 安装指南](https://docs.cilium.io/en/stable/concepts/kubernetes/intro/)
105114
此文档包括详细的需求、说明和生产用途 DaemonSet 文件示例。
106115

107116
<!-- discussion -->

content/zh/docs/tasks/administer-cluster/network-policy-provider/romana-network-policy.md

Lines changed: 18 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,15 +4,27 @@ content_type: task
44
weight: 40
55
---
66

7+
<!--
8+
reviewers:
9+
- chrismarino
10+
title: Romana for NetworkPolicy
11+
content_type: task
12+
weight: 40
13+
-->
14+
715
<!-- overview -->
816

9-
<!-- This page shows how to use Romana for NetworkPolicy. -->
17+
<!--
18+
This page shows how to use Romana for NetworkPolicy.
19+
-->
1020
本页展示如何使用 Romana 作为 NetworkPolicy。
1121

1222
## {{% heading "prerequisites" %}}
1323

14-
<!-- Complete steps 1, 2, and 3 of the [kubeadm getting started guide](/docs/getting-started-guides/kubeadm/). -->
15-
完成 [kubeadm 入门指南](/zh/docs/reference/setup-tools/kubeadm/kubeadm/)中的 1、2、3 步。
24+
<!--
25+
Complete steps 1, 2, and 3 of the [kubeadm getting started guide](/docs/getting-started-guides/kubeadm/).
26+
-->
27+
完成 [kubeadm 入门指南](/zh/docs/reference/setup-tools/kubeadm/)中的 1、2、3 步。
1628

1729
<!-- steps -->
1830
<!--
@@ -30,14 +42,15 @@ To apply network policies use one of the following:
3042
-->
3143
## 使用 kubeadm 安装 Romana
3244

33-
按照[容器化安装指南](https://github.com/romana/romana/tree/master/containerize),使用 kubeadm 安装。
45+
按照[容器化安装指南](https://github.com/romana/romana/tree/master/containerize)
46+
使用 kubeadm 安装。
3447

3548
## 应用网络策略
3649

3750
使用以下的一种方式应用网络策略:
3851

3952
* [Romana 网络策略](https://github.com/romana/romana/wiki/Romana-policies)
40-
* [Romana 网络策略例子](https://github.com/romana/core/blob/master/doc/policy.md)
53+
* [Romana 网络策略例子](https://github.com/romana/core/blob/master/doc/policy.md)
4154
* NetworkPolicy API
4255

4356
## {{% heading "whatsnext" %}}

content/zh/docs/tasks/administer-cluster/network-policy-provider/weave-network-policy.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,14 @@ content_type: task
44
weight: 50
55
---
66

7+
<!--
8+
reviewers:
9+
- bboreham
10+
title: Weave Net for NetworkPolicy
11+
content_type: task
12+
weight: 50
13+
-->
14+
715
<!-- overview -->
816

917
<!--
@@ -14,10 +22,11 @@ This page shows how to use Weave Net for NetworkPolicy.
1422
## {{% heading "prerequisites" %}}
1523

1624
<!--
17-
You need to have a Kubernetes cluster. Follow the [kubeadm getting started guide](/docs/getting-started-guides/kubeadm/) to bootstrap one.
25+
You need to have a Kubernetes cluster. Follow the
26+
[kubeadm getting started guide](/docs/reference/setup-tools/kubeadm/) to bootstrap one.
1827
-->
1928
你需要拥有一个 Kubernetes 集群。按照
20-
[kubeadm 入门指南](/zh/docs/reference/setup-tools/kubeadm/kubeadm/)
29+
[kubeadm 入门指南](/zh/docs/reference/setup-tools/kubeadm/)
2130
来启动一个。
2231

2332

@@ -28,8 +37,11 @@ You need to have a Kubernetes cluster. Follow the [kubeadm getting started guide
2837
2938
Follow the [Integrating Kubernetes via the Addon](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/) guide.
3039
31-
The Weave Net addon for Kubernetes comes with a [Network Policy Controller](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/#npc) that automatically monitors Kubernetes for any NetworkPolicy annotations on all namespaces and configures `iptables` rules to allow or block traffic as directed by the policies.
32-
-->
40+
The Weave Net addon for Kubernetes comes with a
41+
[Network Policy Controller](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/#npc)
42+
that automatically monitors Kubernetes for any NetworkPolicy annotations on all
43+
namespaces and configures `iptables` rules to allow or block traffic as directed by the policies.
44+
-->
3345
## 安装 Weave Net 插件
3446

3547
按照[通过插件集成 Kubernetes](https://www.weave.works/docs/net/latest/kubernetes/kube-addon/)

0 commit comments

Comments
 (0)