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
Copy file name to clipboardExpand all lines: content/zh-cn/docs/reference/kubernetes-api/service-resources/endpoints-v1.md
+33-27Lines changed: 33 additions & 27 deletions
Original file line number
Diff line number
Diff line change
@@ -29,7 +29,7 @@ auto_generated: true
29
29
<!--
30
30
Endpoints is a collection of endpoints that implement the actual service. Example:
31
31
-->
32
-
Endpoints 是实现实际服务的端点的集合。举例:
32
+
Endpoints 是实现实际 Service 的端点的集合。举例:
33
33
34
34
Name: "mysvc",
35
35
Subsets: [
@@ -45,6 +45,16 @@ Endpoints 是实现实际服务的端点的集合。举例:
45
45
46
46
<hr>
47
47
48
+
<!--
49
+
Endpoints is a legacy API and does not contain information about all Service features. Use discoveryv1.EndpointSlice for complete information about Service endpoints.
50
+
51
+
Deprecated: This API is deprecated in v1.33+. Use discoveryv1.EndpointSlice.
52
+
-->
53
+
Endpoints 是遗留 API,不包含所有 Service 特性的信息。使用 discoveryv1.EndpointSlice
54
+
获取关于 Service 端点的完整信息。
55
+
56
+
已弃用:此 API 在 v1.33+ 中已被弃用。请使用 discoveryv1.EndpointSlice。
57
+
48
58
-**apiVersion**: v1
49
59
50
60
-**kind**: Endpoints
@@ -89,10 +99,14 @@ Endpoints 是实现实际服务的端点的集合。举例:
89
99
-->
90
100
则最终的端点集可以看作:
91
101
92
-
93
102
a: [ 10.10.1.1:8675, 10.10.2.2:8675 ],
94
-
b: [ 10.10.1.1:309, 10.10.2.2:309 ]*
103
+
b: [ 10.10.1.1:309, 10.10.2.2:309 ]
95
104
105
+
<!--
106
+
Deprecated: This API is deprecated in v1.33+.*
107
+
-->
108
+
109
+
已弃用:此 API 在 v1.33+ 中已被弃用。
96
110
97
111
-**subsets.addresses** ([]EndpointAddress)
98
112
@@ -109,19 +123,19 @@ Endpoints 是实现实际服务的端点的集合。举例:
109
123
110
124
<!--
111
125
<a name="EndpointAddress"></a>
112
-
*EndpointAddress is a tuple that describes single IP address.*
126
+
*EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.*
113
127
-->
114
128
115
129
<aname="EndpointAddress"></a>
116
-
**EndpointAddress 是描述单个 IP 地址的元组。**
130
+
**EndpointAddress 是描述单个 IP 地址的元组。已弃用:此 API 在 v1.33+ 中已被弃用。**
117
131
118
132
<!--
119
133
- **subsets.addresses.ip** (string), required
120
134
121
135
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast ((224.0.0.0/24).
IP addresses which offer the related ports but are not currently marked as ready because they have not yet finished starting, have recently failed a readiness check, or have recently failed a liveness check.
160
174
161
175
<a name="EndpointAddress"></a>
162
-
*EndpointAddress is a tuple that describes single IP address.*
176
+
*EndpointAddress is a tuple that describes single IP address. Deprecated: This API is deprecated in v1.33+.*
163
177
-->
178
+
164
179
**Atomic:将在合并期间被替换**
165
180
166
181
提供相关端口但由于尚未完成启动、最近未通过就绪态检查或最近未通过活跃性检查而被标记为当前未就绪的 IP 地址。
167
182
<aname="EndpointAddress"></a>
168
-
**EndpointAddress 是描述单个 IP 地址的元组。**
183
+
**EndpointAddress 是描述单个 IP 地址的元组。已弃用:此 API 在 v1.33+ 中已被弃用。**
The IP of this endpoint. May not be loopback (127.0.0.0/8 or ::1), link-local (169.254.0.0/16 or fe80::/10), or link-local multicast (224.0.0.0/24 or ff02::/16).
*EndpointPort is a tuple that describes a single port.*
235
+
*EndpointPort is a tuple that describes a single port. Deprecated: This API is deprecated in v1.33+.*
221
236
-->
222
237
223
238
<aname="EndpointPort"></a>
224
-
**EndpointPort 是描述单个端口的元组。**
239
+
**EndpointPort 是描述单个端口的元组。已弃用:此 API 在 v1.33+ 中已被弃用。**
225
240
226
241
<!--
227
242
- **subsets.ports.port** (int32), required
228
243
229
244
The port number of the endpoint.
230
245
-->
231
246
232
-
-**subsets.ports.port** (int32), 必需
247
+
-**subsets.ports.port** (int32),必需
233
248
234
249
端点的端口号。
235
250
@@ -284,9 +299,9 @@ Endpoints 是实现实际服务的端点的集合。举例:
284
299
## EndpointsList {#EndpointsList}
285
300
286
301
<!--
287
-
EndpointsList is a list of endpoints.
302
+
EndpointsList is a list of endpoints. Deprecated: This API is deprecated in v1.33+.
288
303
-->
289
-
EndpointsList 是端点列表。
304
+
EndpointsList 是端点列表。已弃用:此 API 在 v1.33+ 中已被弃用。
290
305
291
306
<hr>
292
307
@@ -299,6 +314,7 @@ EndpointsList 是端点列表。
299
314
<!--
300
315
Standard list metadata. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds
Copy file name to clipboardExpand all lines: content/zh-cn/docs/reference/kubernetes-api/workload-resources/daemon-set-v1.md
+24-23Lines changed: 24 additions & 23 deletions
Original file line number
Diff line number
Diff line change
@@ -86,18 +86,18 @@ DaemonSetSpec 是守护进程集的规约。
86
86
87
87
A label query over pods that are managed by the daemon set. Must match in order to be controlled. It must match the pod template's labels. More info: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/#label-selectors
An object that describes the pod that will be created. The DaemonSet will create exactly one copy of this pod on every node that matches the template's node selector (or on every node if no node selector is specified). The only allowed template.spec.restartPolicy value is "Always". More info: https://kubernetes.io/docs/concepts/workloads/controllers/replicationcontroller#pod-template
0 commit comments