Update the note ragarding matchLabels vs matchExpressions in the Deployment document

pull/26991/head
Andrei Artemov 2021-03-10 15:58:10 +02:00
parent f476bd34e0
commit 4919d66afc
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ In this example:
{{< note >}}
The `.spec.selector.matchLabels` field is a map of {key,value} pairs.
A single {key,value} in the `matchLabels` map is equivalent to an element of `matchExpressions`,
whose key field is "key" the operator is "In", and the values array contains only "value".
whose `key` field is "key", the `operator` is "In", and the `values` array contains only "value".
All of the requirements, from both `matchLabels` and `matchExpressions`, must be satisfied in order to match.
{{< /note >}}