Update the note ragarding matchLabels vs matchExpressions in the Deployment document
This commit is contained in:
@@ -54,7 +54,7 @@ In this example:
|
|||||||
{{< note >}}
|
{{< note >}}
|
||||||
The `.spec.selector.matchLabels` field is a map of {key,value} pairs.
|
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`,
|
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.
|
All of the requirements, from both `matchLabels` and `matchExpressions`, must be satisfied in order to match.
|
||||||
{{< /note >}}
|
{{< /note >}}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user