You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -50,10 +52,10 @@ Endpoints is a legacy API and does not contain information about all Service fea
50
52
51
53
Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.
52
54
-->
53
-
Endpoints 是遗留 API,不包含所有 Service 特性的信息。使用 discoveryv1.EndpointSlice
55
+
Endpoints 是遗留 API,不包含所有 Service 特性的信息。使用 `discoveryv1.EndpointSlice`
54
56
获取关于 Service 端点的完整信息。
55
57
56
-
已弃用:此 API 在 v1.33+ 中已被弃用。请使用 discoveryv1.EndpointSlice。
58
+
已弃用:此 API 在 v1.33+ 中已被弃用。请使用 `discoveryv1.EndpointSlice`。
57
59
58
60
-**apiVersion**: v1
59
61
@@ -75,32 +77,37 @@ Endpoints 是遗留 API,不包含所有 Service 特性的信息。使用 disco
75
77
The set of all endpoints is the union of all subsets. Addresses are placed into subsets according to the IPs they share. A single address with multiple ports, some of which are ready and some of which are not (because they come from different containers) will result in the address being displayed in different subsets for the different ports. No address will appear in both Addresses and NotReadyAddresses in the same subset. Sets of addresses and ports that comprise a service.
*EndpointSubset is a group of addresses with a common set of ports. The expanded set of endpoints is the Cartesian product of Addresses x Ports. For example, given:
@@ -252,12 +259,22 @@ Endpoints 是遗留 API,不包含所有 Service 特性的信息。使用 disco
252
259
253
260
<!--
254
261
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP.
262
+
263
+
Possible enum values:
264
+
- `"SCTP"` is the SCTP protocol.
265
+
- `"TCP"` is the TCP protocol.
266
+
- `"UDP"` is the UDP protocol.
255
267
-->
256
268
257
269
此端口的 IP 协议。必须是 UDP、TCP 或 SCTP。默认值为 TCP。
258
-
270
+
271
+
可能的枚举值:
272
+
- `"SCTP"` 是 SCTP 协议
273
+
- `"TCP"` 是 TCP 协议
274
+
- `"UDP"` 是 UDP 协议
275
+
259
276
- **subsets.ports.name** (string)
260
-
277
+
261
278
<!--
262
279
The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined.
263
280
-->
@@ -266,7 +283,7 @@ Endpoints 是遗留 API,不包含所有 Service 特性的信息。使用 disco
266
283
仅当定义了一个端口时才可选。
267
284
268
285
- **subsets.ports.appProtocol** (string)
269
-
286
+
270
287
<!--
271
288
The application protocol for this port. This is used as a hint for implementations to offer richer behavior for protocols that they understand. This field follows standard Kubernetes label syntax. Valid values are either:
272
289
-->
@@ -276,24 +293,24 @@ Endpoints 是遗留 API,不包含所有 Service 特性的信息。使用 disco
276
293
277
294
<!--
278
295
* Un-prefixed protocol names - reserved for IANA standard service names (as per RFC-6335 and https://www.iana.org/assignments/service-names).
279
-
296
+
280
297
* Kubernetes-defined prefixed names:
281
298
* 'kubernetes.io/h2c' - HTTP/2 over cleartext as described in https://www.rfc-editor.org/rfc/rfc7540
282
299
* 'kubernetes.io/h2c' - HTTP/2 prior knowledge over cleartext as described in https://www.rfc-editor.org/rfc/rfc9113.html#name-starting-http-2-with-prior-
283
300
* 'kubernetes.io/ws' - WebSocket over cleartext as described in https://www.rfc-editor.org/rfc/rfc6455
284
301
* 'kubernetes.io/wss' - WebSocket over TLS as described in https://www.rfc-editor.org/rfc/rfc6455
285
-
302
+
286
303
* Other protocols should use implementation-defined prefixed names such as mycompany.com/my-custom-protocol.
0 commit comments