mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 04:27:54 +00:00
parent
7823c5779d
commit
6dcedfb4f0
@ -321,11 +321,13 @@ spec:
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
kind: NetworkPolicy
|
kind: NetworkPolicy
|
||||||
apiVersion: extensions/v1beta1
|
apiVersion: extensions/v1beta1
|
||||||
metadata:
|
metadata:
|
||||||
name: allow-all
|
name: allow-all
|
||||||
spec:
|
spec:
|
||||||
podSelector:
|
podSelector:
|
||||||
|
ingress:
|
||||||
|
- {}
|
||||||
```
|
```
|
||||||
|
|
||||||
## References
|
## References
|
||||||
|
Loading…
Reference in New Issue
Block a user