Skip to content

Commit

Permalink
修订
Browse files Browse the repository at this point in the history
  • Loading branch information
shaohq committed Nov 7, 2020
1 parent 434bba9 commit bcc7ab6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions learning/k8s-intermediate/service/np-default.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,9 @@ spec:
- Ingress
```
## 默认拒绝所有出方向流量
## 默认允许所有出方向流量
在名称空间中创建下面的 NetworkPolicy,该 NetworkPolicy 禁止名称空间中所有 Pod 的所有出方向网络流量
在名称空间中创建下面的 NetworkPolicy,该 NetworkPolicy 允许名称空间中所有 Pod 的所有出方向网络流量
``` yaml
apiVersion: networking.k8s.io/v1
Expand Down

0 comments on commit bcc7ab6

Please sign in to comment.