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/docs/concepts/overview/working-with-objects/labels.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -221,17 +221,17 @@ partition
221
221
```
222
222
223
223
<!--
224
-
The first example selects all resources with key equal to `environment` and value equal to `production` or `qa`.
225
-
The second example selects all resources with key equal to `tier` and values other than `frontend` and `backend`, and all resources with no labels with the `tier` key.
226
-
The third example selects all resources including a label with key `partition`; no values are checked.
227
-
The fourth example selects all resources without a label with key `partition`; no values are checked.
224
+
* The first example selects all resources with key equal to `environment` and value equal to `production` or `qa`.
225
+
* The second example selects all resources with key equal to `tier` and values other than `frontend` and `backend`, and all resources with no labels with the `tier` key.
226
+
* The third example selects all resources including a label with key `partition`; no values are checked.
227
+
* The fourth example selects all resources without a label with key `partition`; no values are checked.
228
228
Similarly the comma separator acts as an _AND_ operator. So filtering resources with a `partition` key (no matter the value) and with `environment` different than `qa` can be achieved using `partition,environment notin (qa)`.
0 commit comments