Skip to content

Commit d201fa3

Browse files
authored
Merge pull request #37876 from kinzhi/kinzhi229
[zh-cn]Update source-ip.md
2 parents 4af53e7 + c0631ba commit d201fa3

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

content/zh-cn/docs/tutorials/services/source-ip.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ weight: 10
88
title: Using Source IP
99
content_type: tutorial
1010
min-kubernetes-server-version: v1.5
11-
weight: 10
11+
weight: 40
1212
-->
1313

1414
<!-- overview -->
@@ -134,7 +134,7 @@ The output is similar to this:
134134
-->
135135
输出类似于:
136136
```
137-
NAME STATUS ROLES AGE VERSION
137+
NAME STATUS ROLES AGE VERSION
138138
kubernetes-node-6jst Ready <none> 2h v1.13.0
139139
kubernetes-node-cx31 Ready <none> 2h v1.13.0
140140
kubernetes-node-jj1t Ready <none> 2h v1.13.0
@@ -174,7 +174,7 @@ service/clusterip exposed
174174
kubectl get svc clusterip
175175
```
176176
<!--
177-
The output is similar to this:
177+
The output is similar to:
178178
-->
179179
输出类似于:
180180
```
@@ -254,7 +254,6 @@ are source NAT'd by default. You can test this by creating a `NodePort` Service:
254254
```shell
255255
kubectl expose deployment source-ip-app --name=nodeport --port=80 --target-port=8080 --type=NodePort
256256
```
257-
258257
<!--
259258
The output is:
260259
-->
@@ -430,7 +429,7 @@ service/loadbalancer exposed
430429
Print out the IP addresses of the Service:
431430
-->
432431
打印 Service 的 IP 地址:
433-
```shell
432+
```console
434433
kubectl get svc loadbalancer
435434
```
436435
<!--
@@ -640,8 +639,8 @@ kubectl delete deployment source-ip-app
640639
## {{% heading "whatsnext" %}}
641640

642641
<!--
643-
* Learn more about [connecting applications via services](/docs/concepts/services-networking/connect-applications-service/)
642+
* Learn more about [connecting applications via services](/docs/tutorials/services/connect-applications-service/)
644643
* Read how to [Create an External Load Balancer](/docs/tasks/access-application-cluster/create-external-load-balancer/)
645644
-->
646-
* 详细了解[通过 Service 连接应用程序](/zh-cn/docs/concepts/services-networking/connect-applications-service/)
645+
* 详细了解[通过 Service 连接应用程序](/zh-cn/docs/tutorials/services/connect-applications-service/)
647646
* 阅读如何[创建外部负载均衡器](/zh-cn/docs/tasks/access-application-cluster/create-external-load-balancer/)

0 commit comments

Comments
 (0)