Fix orders of yaml for tasks/administer-cluster/[a-k]*.go (#14241)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
84163560cc
commit
5a89ffb684
@@ -90,8 +90,8 @@ Connecting to nginx (10.100.0.16:80)
|
||||
Let's say you want to limit access to the `nginx` service so that only pods with the label `access: true` can query it. To do that, create a `NetworkPolicy` that allows connections only from those pods:
|
||||
|
||||
```yaml
|
||||
kind: NetworkPolicy
|
||||
apiVersion: networking.k8s.io/v1
|
||||
kind: NetworkPolicy
|
||||
metadata:
|
||||
name: access-nginx
|
||||
spec:
|
||||
|
||||
Reference in New Issue
Block a user