Skip to content

Commit ea2bd42

Browse files
committed
fix2
1 parent bf53e4f commit ea2bd42

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,17 @@ your cluster. Those fields are:
133133

134134
- **matchLabelKeys** is a list of pod label keys to select the group of pods over which
135135
the spreading skew will be calculated. At a pod creation,
136-
apiserver will use those keys to lookup values from the incoming pod labels,
137-
and those key-value labels will be merged with existing `labelSelector`.
136+
the kube-apiserver uses those keys to lookup values from the incoming pod labels,
137+
and those key-value labels will be merged with any existing `labelSelector`.
138138
The same key is forbidden to exist in both `matchLabelKeys` and `labelSelector`.
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`.
142142

143-
{{< warning >}}
143+
{{< caution >}}
144144
It's not recommended to use `matchLabelKeys` with labels that might be updated
145145
because the update of the label isn't reflected onto the merged `labelSelector`.
146-
{{< /warning >}}
146+
{{< /caution >}}
147147

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

0 commit comments

Comments
 (0)