diff --git a/content/cn/docs/concepts/services-networking/network-policies.md b/content/cn/docs/concepts/services-networking/network-policies.md index 2693ad7580793..9e60f6f9346fd 100644 --- a/content/cn/docs/concepts/services-networking/network-policies.md +++ b/content/cn/docs/concepts/services-networking/network-policies.md @@ -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` 的示例: diff --git a/content/en/docs/concepts/services-networking/network-policies.md b/content/en/docs/concepts/services-networking/network-policies.md index 3213fb0c784cc..e0284c8597b1e 100644 --- a/content/en/docs/concepts/services-networking/network-policies.md +++ b/content/en/docs/concepts/services-networking/network-policies.md @@ -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: