Skip to content

Commit

Permalink
Merge pull request kubernetes#58 from chentao1596/weave-network-policy
Browse files Browse the repository at this point in the history
tasks-administer-cluster-weave-network-policy-pr-2017-7-15
  • Loading branch information
Dragons authored Aug 12, 2017
2 parents d47684c + 9ec8618 commit f466bbf
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions docs/tasks/administer-cluster/weave-network-policy.md
Original file line number Diff line number Diff line change
@@ -1,39 +1,69 @@
---
assignees:
- bboreham
title: 为了 NetworkPolicy 使用 Weave 网络
redirect_from:
- "/docs/getting-started-guides/network-policy/weave/"
- "/docs/getting-started-guides/network-policy/weave.html"
- "/docs/tasks/configure-pod-container/weave-network-policy/"
- "/docs/tasks/configure-pod-container/weave-network-policy.html"
---
<!--
---
assignees:
- bboreham
title: Weave Net for NetworkPolicy
redirect_from:
- "/docs/getting-started-guides/network-policy/weave/"
- "/docs/getting-started-guides/network-policy/weave.html"
- "/docs/tasks/configure-pod-container/weave-network-policy/"
- "/docs/tasks/configure-pod-container/weave-network-policy.html"
---
-->

{% capture overview %}

<!--
This page shows how to use Weave Net for NetworkPolicy.
-->
本页展示怎么样为了 NetworkPolicy 使用 Weave 网络

{% endcapture %}

{% capture prerequisites %}

<!--
Complete steps 1, 2, and 3 of the [kubeadm getting started guide](/docs/getting-started-guides/kubeadm/).
-->
完成 [kubeadm 入门指南](/docs/getting-started-guides/kubeadm/)中的步骤1、2和3

{% endcapture %}

{% capture steps %}

<!--
## Installing Weave Net addon
-->
## 安装 Weave 网络插件

<!--
Follow the [Integrating Kubernetes via the Addon](https://www.weave.works/docs/net/latest/kube-addon/) guide.
-->
按照[通过插件方式集成到 Kubernetes 指南](https://www.weave.works/docs/net/latest/kube-addon/)完成安装

<!--
The Weave Net Addon for Kubernetes comes with a [Network Policy Controller](https://www.weave.works/docs/net/latest/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.
-->
Kubernetes 的 Weave 网络插件配有一个[网络策略控制器](https://www.weave.works/docs/net/latest/kube-addon/#npc),它监控所有命名空间下 NetworkPolicy 相关的注解,然后配置 iptables 规则生成允许或者阻断通信的策略

{% endcapture %}

{% capture whatsnext %}

<!--
Once you have installed the Weave Net Addon you can follow the [NetworkPolicy getting started guide](/docs/getting-started-guides/network-policy/walkthrough) to try out Kubernetes NetworkPolicy.
-->
Weave 网络插件安装完成之后,您可以通过 [NetworkPolicy 入门指南](/docs/getting-started-guides/network-policy/walkthrough)去尝试使用 Kubernetes NetworkPolicy

{% endcapture %}

Expand Down

0 comments on commit f466bbf

Please sign in to comment.