File tree Expand file tree Collapse file tree 1 file changed +22
-22
lines changed
content/en/examples/service/networking Expand file tree Collapse file tree 1 file changed +22
-22
lines changed Original file line number Diff line number Diff line change 8
8
matchLabels :
9
9
role : db
10
10
policyTypes :
11
- - Ingress
12
- - Egress
11
+ - Ingress
12
+ - Egress
13
13
ingress :
14
- - from :
15
- - ipBlock :
16
- cidr : 172.17.0.0/16
17
- except :
18
- - 172.17.1.0/24
19
- - namespaceSelector :
20
- matchLabels :
21
- project : myproject
22
- - podSelector :
23
- matchLabels :
24
- role : frontend
25
- ports :
26
- - protocol : TCP
27
- port : 6379
14
+ - from :
15
+ - ipBlock :
16
+ cidr : 172.17.0.0/16
17
+ except :
18
+ - 172.17.1.0/24
19
+ - namespaceSelector :
20
+ matchLabels :
21
+ project : myproject
22
+ - podSelector :
23
+ matchLabels :
24
+ role : frontend
25
+ ports :
26
+ - protocol : TCP
27
+ port : 6379
28
28
egress :
29
- - to :
30
- - ipBlock :
31
- cidr : 10.0.0.0/24
32
- ports :
33
- - protocol : TCP
34
- port : 5978
29
+ - to :
30
+ - ipBlock :
31
+ cidr : 10.0.0.0/24
32
+ ports :
33
+ - protocol : TCP
34
+ port : 5978
35
35
You can’t perform that action at this time.
0 commit comments