Skip to content

Commit 6cff4e9

Browse files
authored
Merge pull request #22236 from jiaj12/patch-26
Update create-external-load-balancer.md
2 parents 6c76dfd + 7a50843 commit 6cff4e9

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

content/zh/docs/tasks/access-application-cluster/create-external-load-balancer.md

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -190,13 +190,16 @@ traffic spreading.
190190

191191
<!--
192192
* `service.spec.healthCheckNodePort` - specifies the health check nodePort
193-
(numeric port number) for the service. If not specified, `healthCheckNodePort` is
194-
created by the service API backend with the allocated `nodePort`. It will use the
195-
user-specified `nodePort` value if specified by the client. It only has an
193+
(numeric port number) for the service. If `healthCheckNodePort` isn't specified,
194+
the service controller allocates a port from your cluster's NodePort range. You
195+
can configure that range by setting an API server command line option,
196+
`--service-node-port-range`. It will use the
197+
user-specified `healthCheckNodePort` value if specified by the client. It only has an
196198
effect when `type` is set to LoadBalancer and `externalTrafficPolicy` is set
197199
to Local.
198200
-->
199-
* `service.spec.healthCheckNodePort` - 指定服务的 healthcheck nodePort(数字端口号)。如果未指定,则 serviceCheckNodePort 由服务 API 后端使用已分配的 nodePort 创建。如果客户端指定,它将使用客户端指定的 nodePort 值。仅当 type 设置为 LoadBalancer 并且 externalTrafficPolicy 设置为 Local 时才生效。
201+
202+
* `service.spec.healthCheckNodePort` - 指定服务的 healthcheck nodePort(数字端口号)。如果未指定 `healthCheckNodePort`,服务控制器从集群的 NodePort 范围内分配一个端口。您可以通过设置 API 服务器的命令行选项 `--service-node-port-range` 来配置上述范围。它将会使用用户指定的 `healthCheckNodePort` 值(如果被客户端指定)。仅当 `type` 设置为 LoadBalancer 并且 `externalTrafficPolicy` 设置为 Local 时才生效。
200203

201204
<!--
202205
Setting `externalTrafficPolicy` to Local in the Service configuration file

0 commit comments

Comments
 (0)