From 13fa33be8da3a837bd74a542b3d4ef579621e629 Mon Sep 17 00:00:00 2001 From: xin gu <418294249@qq.com> Date: Mon, 13 Nov 2023 21:46:15 +0800 Subject: [PATCH] sync concepts/services-networking/_index endpoint-slice-v1 --- content/zh-cn/docs/concepts/services-networking/_index.md | 5 +++++ .../kubernetes-api/service-resources/endpoint-slice-v1.md | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/content/zh-cn/docs/concepts/services-networking/_index.md b/content/zh-cn/docs/concepts/services-networking/_index.md index 718e91b8594..4a522f77772 100644 --- a/content/zh-cn/docs/concepts/services-networking/_index.md +++ b/content/zh-cn/docs/concepts/services-networking/_index.md @@ -94,6 +94,8 @@ Kubernetes networking addresses four concerns: to be reachable from outside your cluster. - [Ingress](/docs/concepts/services-networking/ingress/) provides extra functionality specifically for exposing HTTP applications, websites and APIs. + - [Gateway API](/docs/concepts/services-networking/gateway/) is an {{}} + that provides an expressive, extensible, and role-oriented family of API kinds for modeling service networking. - You can also use Services to [publish services only for consumption inside your cluster](/docs/concepts/services-networking/service-traffic-policy/). --> @@ -106,6 +108,9 @@ Kubernetes 网络解决四方面的问题: 以支持来自于集群外部的访问。 - [Ingress](/zh-cn/docs/concepts/services-networking/ingress/) 提供专门用于暴露 HTTP 应用程序、网站和 API 的额外功能。 + - [Gateway API](/zh-cn/docs/concepts/services-networking/gateway/) + 是一个{{}}, + 为服务网络建模提供富有表现力、可扩展和面向角色的 API 系列类别。 - 你也可以使用 Service 来[发布仅供集群内部使用的服务](/zh-cn/docs/concepts/services-networking/service-traffic-policy/)。 diff --git a/content/zh-cn/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1.md b/content/zh-cn/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1.md index e53d47ff469..ec62907f45c 100644 --- a/content/zh-cn/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1.md +++ b/content/zh-cn/docs/reference/kubernetes-api/service-resources/endpoint-slice-v1.md @@ -289,6 +289,8 @@ EndpointSlice 是实现某 Service 的端点的子集。一个 Service 可以有 * Kubernetes-defined prefixed names: * 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540 + * 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455 + * 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455 * Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol. --> @@ -300,6 +302,8 @@ EndpointSlice 是实现某 Service 的端点的子集。一个 Service 可以有 * Kubernetes 定义的前缀名称: * 'kubernetes.io/h2c' - 使用明文的 HTTP/2 协议,详见 https://www.rfc-editor.org/rfc/rfc7540 + * 'kubernetes.io/ws' - 通过明文传输的 WebSocket,详见 https://www.rfc-editor.org/rfc/rfc6455 + * 'kubernetes.io/wss' - 通过 TLS 传输的 WebSocket,详见 https://www.rfc-editor.org/rfc/rfc6455 * 其他协议应该使用带前缀的名称,例如 mycompany.com/my-custom-protocol。