@@ -70,7 +70,7 @@ Pod 是非永久性资源。
70
70
这导致了一个问题: 如果一组 Pod(称为“后端”)为集群内的其他 Pod(称为“前端”)提供功能,
71
71
那么前端如何找出并跟踪要连接的 IP 地址,以便前端可以使用提供工作负载的后端部分?
72
72
73
- 进入 ** Services ** 。
73
+ 进入 ** Service ** 。
74
74
75
75
<!--
76
76
## Service resources {#service-resource}
@@ -119,8 +119,8 @@ balancer in between your application and the backend Pods.
119
119
### 云原生服务发现 {#cloud-native-discovery}
120
120
121
121
如果你想要在应用程序中使用 Kubernetes API 进行服务发现,则可以查询
122
- {{< glossary_tooltip text="API 服务器" term_id="kube-apiserver" >}}
123
- 用于匹配 EndpointSlices。 只要服务中的 Pod 集合发生更改,Kubernetes 就会为服务更新 EndpointSlices。
122
+ {{< glossary_tooltip text="API 服务器" term_id="kube-apiserver" >}}用于匹配 EndpointSlices。
123
+ 只要服务中的 Pod 集合发生更改,Kubernetes 就会为服务更新 EndpointSlices。
124
124
125
125
对于非本机应用程序,Kubernetes 提供了在应用程序和后端 Pod 之间放置网络端口或负载均衡器的方法。
126
126
@@ -708,15 +708,15 @@ the port number for `http`, as well as the IP address.
708
708
709
709
The Kubernetes DNS server is the only way to access `ExternalName` Services.
710
710
You can find more information about `ExternalName` resolution in
711
- [DNS Pods and Services ](/docs/concepts/services-networking/dns-pod-service/).
711
+ [DNS for Services and Pods ](/docs/concepts/services-networking/dns-pod-service/).
712
712
-->
713
713
Kubernetes 还支持命名端口的 DNS SRV(服务)记录。
714
714
如果 `my-service.my-ns` 服务具有名为 `http` 的端口,且协议设置为 TCP,
715
715
则可以对 `_http._tcp.my-service.my-ns` 执行 DNS SRV 查询以发现该端口号、`"http"` 以及 IP 地址。
716
716
717
717
Kubernetes DNS 服务器是唯一的一种能够访问 `ExternalName` 类型的 Service 的方式。
718
- 更多关于 `ExternalName` 信息可以查看
719
- [DNS Pod 和 Service ](/zh-cn/docs/concepts/services-networking/dns-pod-service/)。
718
+ 更多关于 `ExternalName` 解析的信息可以查看
719
+ [Service 与 Pod 的 DNS ](/zh-cn/docs/concepts/services-networking/dns-pod-service/)。
720
720
721
721
<!--
722
722
# # Headless Services {#headless-services}
@@ -1842,21 +1842,28 @@ Kubernetes 提供的使用虚拟 IP 地址公开服务的机制。
1842
1842
# # {{% heading "whatsnext" %}}
1843
1843
1844
1844
<!--
1845
+ Learn more about the following :
1845
1846
* Follow the [Connecting Applications with Services](/docs/tutorials/services/connect-applications-service/) tutorial
1846
- * Read about [Ingress](/docs/concepts/services-networking/ingress/)
1847
- * Read about [EndpointSlices](/docs/concepts/services-networking/endpoint-slices/)
1848
-
1849
- For more context :
1850
- * Read [Virtual IPs and Service Proxies](/docs/reference/networking/virtual-ips/)
1851
- * Read the [API reference](/docs/reference/kubernetes-api/service-resources/service-v1/) for the Service API
1852
- * Read the [API reference](/docs/reference/kubernetes-api/service-resources/endpoints-v1/) for the Endpoints API
1853
- * Read the [API reference](/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/) for the EndpointSlice API
1847
+ * [Ingress](/docs/concepts/services-networking/ingress/) exposes HTTP and HTTPS routes from outside the cluster to services within the cluster.
1848
+ * [EndpointSlices](/docs/concepts/services-networking/endpoint-slices/)
1854
1849
-->
1850
+ 进一步学习以下章节:
1851
+
1855
1852
* 遵循[使用 Service 连接到应用](/zh-cn/docs/tutorials/services/connect-applications-service/)教程
1856
- * 阅读了解 [Ingress](/zh-cn/docs/concepts/services-networking/ingress/)
1857
- * 阅读了解[端点切片(Endpoint Slices)](/zh-cn/docs/concepts/services-networking/endpoint-slices/)
1853
+ * [Ingress](/zh-cn/docs/concepts/services-networking/ingress/) 将来自集群外部的 HTTP 和 HTTPS
1854
+ 请求路由暴露给集群内的服务。
1855
+ * [EndpointSlice](/zh-cn/docs/concepts/services-networking/endpoint-slices/)
1858
1856
1857
+ <!--
1858
+ For more context :
1859
+ * [Virtual IPs and Service Proxies](/docs/reference/networking/virtual-ips/)
1860
+ * [API reference](/docs/reference/kubernetes-api/service-resources/service-v1/) for the Service API
1861
+ * [API reference](/docs/reference/kubernetes-api/service-resources/endpoints-v1/) for the Endpoints API
1862
+ * [API reference](/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/) for the EndpointSlice API
1863
+ -->
1859
1864
更多上下文:
1860
- * 阅读[虚拟 IP 和 Service 代理](/zh-cn/docs/reference/networking/virtual-ips/)
1861
- * 阅读 Service API 的 [API 参考](/zh-cn/docs/reference/kubernetes-api/service-resources/service-v1/)
1862
- * 阅读 EndpointSlice API 的 [API 参考](/zh-cn/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/)
1865
+
1866
+ * [虚拟 IP 和 Service 代理](/zh-cn/docs/reference/networking/virtual-ips/)
1867
+ * Service API 的 [API 参考](/zh-cn/docs/reference/kubernetes-api/service-resources/service-v1/)
1868
+ * Endpoints API 的 [API 参考](/zh-cn/docs/reference/kubernetes-api/service-resources/endpoints-v1/)
1869
+ * EndpointSlice API 的 [API 参考](/zh-cn/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1/)
0 commit comments