@@ -8,7 +8,7 @@ weight: 10
8
8
title: Using Source IP
9
9
content_type: tutorial
10
10
min-kubernetes-server-version: v1.5
11
- weight: 10
11
+ weight: 40
12
12
-->
13
13
14
14
<!-- overview -->
@@ -134,7 +134,7 @@ The output is similar to this:
134
134
-->
135
135
输出类似于:
136
136
```
137
- NAME STATUS ROLES AGE VERSION
137
+ NAME STATUS ROLES AGE VERSION
138
138
kubernetes-node-6jst Ready <none> 2h v1.13.0
139
139
kubernetes-node-cx31 Ready <none> 2h v1.13.0
140
140
kubernetes-node-jj1t Ready <none> 2h v1.13.0
@@ -174,7 +174,7 @@ service/clusterip exposed
174
174
kubectl get svc clusterip
175
175
```
176
176
<!--
177
- The output is similar to this :
177
+ The output is similar to:
178
178
-->
179
179
输出类似于:
180
180
```
@@ -254,7 +254,6 @@ are source NAT'd by default. You can test this by creating a `NodePort` Service:
254
254
``` shell
255
255
kubectl expose deployment source-ip-app --name=nodeport --port=80 --target-port=8080 --type=NodePort
256
256
```
257
-
258
257
<!--
259
258
The output is:
260
259
-->
@@ -430,7 +429,7 @@ service/loadbalancer exposed
430
429
Print out the IP addresses of the Service:
431
430
-->
432
431
打印 Service 的 IP 地址:
433
- ``` shell
432
+ ``` console
434
433
kubectl get svc loadbalancer
435
434
```
436
435
<!--
@@ -640,8 +639,8 @@ kubectl delete deployment source-ip-app
640
639
## {{% heading "whatsnext" %}}
641
640
642
641
<!--
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/)
644
643
* Read how to [Create an External Load Balancer](/docs/tasks/access-application-cluster/create-external-load-balancer/)
645
644
-->
646
- * 详细了解[ 通过 Service 连接应用程序] ( /zh-cn/docs/concepts /services-networking /connect-applications-service/ )
645
+ * 详细了解[ 通过 Service 连接应用程序] ( /zh-cn/docs/tutorials /services/connect-applications-service/ )
647
646
* 阅读如何[ 创建外部负载均衡器] ( /zh-cn/docs/tasks/access-application-cluster/create-external-load-balancer/ )
0 commit comments