Skip to content

Commit

Permalink
Fix NetworkPolicy api link
Browse files Browse the repository at this point in the history
  • Loading branch information
philpep committed Jul 9, 2018
1 parent 8d9c953 commit 8c67585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Pod可以通过相关的网络策略进行隔离。一旦命名空间中有网

## `NetworkPolicy` 资源

通过[api参考](/docs/api-reference/{{< param "version" >}}/#networkpolicy-v1-networking)来了解资源定义。
通过[api参考](/docs/api-reference/{{< param "version" >}}/#networkpolicy-v1-networking-k8s-io)来了解资源定义。

下面是一个 `NetworkPolicy` 的示例:

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Pods become isolated by having a NetworkPolicy that selects them. Once there is

## The `NetworkPolicy` Resource

See the [NetworkPolicy](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#networkpolicy-v1-networking) for a full definition of the resource.
See the [NetworkPolicy](/docs/reference/generated/kubernetes-api/{{< param "version" >}}/#networkpolicy-v1-networking-k8s-io) for a full definition of the resource.

An example `NetworkPolicy` might look like this:

Expand Down

0 comments on commit 8c67585

Please sign in to comment.