sync kubernetes-api/_index label-selector endpoints-v1

Update _index.md

Update _index.md
pull/42807/head
xin gu 2023-08-31 22:38:38 +08:00
parent 54c666d73c
commit 64f8db0a48
3 changed files with 17 additions and 3 deletions

View File

@ -1,8 +1,21 @@
---
title: Kubernetes API
weight: 50
card:
title: Kubernetes API 参考
name: reference
weight: 40
---
<!--
title: "Kubernetes API"
weight: 50
card:
title: Kubernetes API reference
name: reference
weight: 40
-->
<!-- overview -->
{{< glossary_definition term_id="kubernetes-api" length="all" >}}

View File

@ -52,13 +52,10 @@ A label selector is a label query over a set of resources. The result of matchLa
<!--
- **matchExpressions.key** (string), required
*Patch strategy: merge on key `key`*
key is the label key that the selector applies to.
-->
- **matchExpressions.key** (string) 必填
*补丁策略:按照键 `key` 合并*
`key` 是选择器应用的标签键。

View File

@ -248,6 +248,8 @@ Endpoints 是实现实际服务的端点的集合。举例:
* 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.
-->
@ -256,6 +258,8 @@ Endpoints 是实现实际服务的端点的集合。举例:
* 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' - WebSocket TLS 传输方式,如 https://www.rfc-editor.org/rfc/rfc6455 中所述
* 其他协议应使用实现定义的前缀名称,如 mycompany.com/my-custom-protocol。