@@ -26,7 +26,10 @@ weight: 10
26
26
27
27
<!-- overview -->
28
28
29
+ <!--
29
30
{{< glossary_definition term_id="service" length="short" >}}
31
+ -->
32
+ {{< glossary_definition term_id="service" length="short" prepend="Kubernetes 中 Service 是" >}}
30
33
31
34
<!--
32
35
A key aim of Services in Kubernetes is that you don't need to modify your existing
@@ -1091,14 +1094,14 @@ by making the changes that are equivalent to you requesting a Service of
1091
1094
`type : NodePort`. The cloud-controller-manager component then configures the external load balancer to
1092
1095
forward traffic to that assigned node port.
1093
1096
1094
- _As an alpha feature_, you can configure a load balanced Service to
1097
+ You can configure a load balanced Service to
1095
1098
[omit](#load-balancer-nodeport-allocation) assigning a node port, provided that the
1096
1099
cloud provider implementation supports this.
1097
1100
-->
1098
1101
要实现 `type : LoadBalancer` 的服务,Kubernetes 通常首先进行与请求 `type: NodePort` 服务等效的更改。
1099
1102
cloud-controller-manager 组件然后配置外部负载均衡器以将流量转发到已分配的节点端口。
1100
1103
1101
- **作为 Alpha 特性**, 你可以将负载均衡服务配置为[忽略](#load-balancer-nodeport-allocation)分配节点端口,
1104
+ 你可以将负载均衡服务配置为[忽略](#load-balancer-nodeport-allocation)分配节点端口,
1102
1105
前提是云提供商实现支持这点。
1103
1106
1104
1107
{{< note >}}
@@ -1810,7 +1813,7 @@ will be routed to one of the Service endpoints. `externalIPs` are not managed by
1810
1813
of the cluster administrator.
1811
1814
1812
1815
In the Service spec, `externalIPs` can be specified along with any of the `ServiceTypes`.
1813
- In the example below, "`my-service`" can be accessed by clients on "`80.11.12.10 :80`" (`externalIP:port`)
1816
+ In the example below, "`my-service`" can be accessed by clients on "198.51.100.32 :80`" (`externalIP:port`)
1814
1817
-->
1815
1818
# ## 外部 IP {#external-ips}
1816
1819
@@ -1820,7 +1823,7 @@ In the example below, "`my-service`" can be accessed by clients on "`80.11.12.10
1820
1823
` externalIPs` 不会被 Kubernetes 管理,它属于集群管理员的职责范畴。
1821
1824
1822
1825
根据 Service 的规定,`externalIPs` 可以同任意的 `ServiceType` 来一起指定。
1823
- 在上面的例子中,`my-service` 可以在 "`80.11.12.10 :80`" (`externalIP:port`) 上被客户端访问。
1826
+ 在上面的例子中,`my-service` 可以在 "`198.51.100.32 :80`" (`externalIP:port`) 上被客户端访问。
1824
1827
1825
1828
` ` ` yaml
1826
1829
apiVersion: v1
0 commit comments