Skip to content

Commit 64f8db0

Browse files
committed
sync kubernetes-api/_index label-selector endpoints-v1
Update _index.md Update _index.md
1 parent 54c666d commit 64f8db0

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed
Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
---
22
title: Kubernetes API
33
weight: 50
4+
card:
5+
title: Kubernetes API 参考
6+
name: reference
7+
weight: 40
48
---
59

10+
<!--
11+
title: "Kubernetes API"
12+
weight: 50
13+
card:
14+
title: Kubernetes API reference
15+
name: reference
16+
weight: 40
17+
-->
18+
619
<!-- overview -->
720

821
{{< glossary_definition term_id="kubernetes-api" length="all" >}}

content/zh-cn/docs/reference/kubernetes-api/common-definitions/label-selector.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,10 @@ A label selector is a label query over a set of resources. The result of matchLa
5252

5353
<!--
5454
- **matchExpressions.key** (string), required
55-
*Patch strategy: merge on key `key`*
5655
key is the label key that the selector applies to.
5756
-->
5857

5958
- **matchExpressions.key** (string), 必填
60-
61-
*补丁策略:按照键 `key` 合并*
6259

6360
`key` 是选择器应用的标签键。
6461

content/zh-cn/docs/reference/kubernetes-api/service-resources/endpoints-v1.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,8 @@ Endpoints 是实现实际服务的端点的集合。举例:
248248
249249
* Kubernetes-defined prefixed names:
250250
* 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in http://www.rfc-editor.org/rfc/rfc7540
251+
* 'kubernetes.io/ws' - WebSocket over cleartext as described in http://www.rfc-editor.org/rfc/rfc6455
252+
* 'kubernetes.io/wss' - WebSocket over TLS as described in http://www.rfc-editor.org/rfc/rfc6455
251253
252254
* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.
253255
-->
@@ -256,6 +258,8 @@ Endpoints 是实现实际服务的端点的集合。举例:
256258

257259
* Kubernetes 定义的前缀名称
258260
* 'kubernetes.io/h2c' - HTTP/2 明文,如 http://www.rfc-editor.org/rfc/rfc7540 中所述
261+
* 'kubernetes.io/ws' - WebSocket 明文,如 http://www.rfc-editor.org/rfc/rfc6455 中所述
262+
* 'kubernetes.io/wss' - WebSocket TLS 传输方式,如 http://www.rfc-editor.org/rfc/rfc6455 中所述
259263

260264
* 其他协议应使用实现定义的前缀名称,如 mycompany.com/my-custom-protocol。
261265

0 commit comments

Comments
 (0)