Skip to content

Commit d6d040e

Browse files
authored
Merge pull request #48135 from RifeWang/sync-zh-docs/concepts/overview/working-with-objects/labels
[zh-cn] sync docs/concepts/overview/working-with-objects/labels.md
2 parents 41f13f8 + 22e73c0 commit d6d040e

File tree

1 file changed

+8
-3
lines changed
  • content/zh-cn/docs/concepts/overview/working-with-objects

1 file changed

+8
-3
lines changed

content/zh-cn/docs/concepts/overview/working-with-objects/labels.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -327,13 +327,18 @@ For example: `partition in (customerA, customerB),environment!=qa`.
327327
<!--
328328
### LIST and WATCH filtering
329329
330-
LIST and WATCH operations may specify label selectors to filter the sets of objects
331-
returned using a query parameter. Both requirements are permitted
330+
For **list** and **watch** operations, you can specify label selectors to filter the sets of objects
331+
returned; you specify the filter using a query parameter.
332+
(To learn in detail about watches in Kubernetes, read
333+
[efficient detection of changes](/docs/reference/using-api/api-concepts/#efficient-detection-of-changes)).
334+
Both requirements are permitted
332335
(presented here as they would appear in a URL query string):
333336
-->
334337
### LIST 和 WATCH 过滤
335338
336-
LIST 和 WATCH 操作可以使用查询参数指定标签选择算符过滤一组对象。
339+
对于 **list** 和 **watch** 操作,你可以指定标签选择算符过滤返回的对象集;你可以使用查询参数来指定过滤条件。
340+
(了解 Kubernetes 中的 watch 操作细节,请参阅
341+
[高效检测变更](/zh-cn/docs/reference/using-api/api-concepts/#efficient-detection-of-changes))。
337342
两种需求都是允许的。(这里显示的是它们出现在 URL 查询字符串中)
338343
339344
<!--

0 commit comments

Comments
 (0)