January 2019
Intermediate to advanced
484 pages
11h 48m
English
The description of a required statement is called nodeSelectorTerms, and is composed of one or more matchExpressions. matchExpressions, which is similar to the matchExpressions that is used by other Kubernetes controllers such as Deployment and StatefulSets, but in this case, the matchExpressions node supports the following operators: In, NotIn, Exists, DoesNotExist, Gt, and Lt.
A node affinity requirement looks as follows:
...requiredDuringSchedulingIgnoredDuringExecution: nodeSelectorTerms: - matchExpressions: - key: <key_1> operator: <In, NotIn, Exists, DoesNotExist. Gt, or Lt> values: - <value_1> - <value_2> - ... - key: <key_2> ...
- matchExpressions: ......
For conditions that have multiple nodeSelectorTerms defined (each ...
Read now
Unlock full access