Skip to content

Commit bf53e4f

Browse files
committed
fix1
1 parent 7a4fbbc commit bf53e4f

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

content/en/docs/concepts/scheduling-eviction/topology-spread-constraints.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,11 @@ your cluster. Those fields are:
139139
`matchLabelKeys` cannot be set when `labelSelector` isn't set.
140140
Keys that don't exist in the pod labels will be ignored.
141141
A null or empty list means only match against the `labelSelector`.
142+
143+
{{< warning >}}
142144
It's not recommended to use `matchLabelKeys` with labels that might be updated
143-
because the update of the label isn't reflected onto the merged `LabelSelector`.
145+
because the update of the label isn't reflected onto the merged `labelSelector`.
146+
{{< /warning >}}
144147

145148
With `matchLabelKeys`, you don't need to update the `pod.spec` between different revisions.
146149
The controller/operator just needs to set different values to the same label key for different

0 commit comments

Comments
 (0)