|
Answer» Various methods are AVAILABLE to achieve it. - nodeName: SPECIFY the NAME of a node in POD spec CONFIGURATION, it will try to run the POD on a specific node.
- nodeSelector: Assign a specific label to the node which has special resources and USE the same label in POD spec so that POD will run only on that node.
- nodeaffinities: required DuringSchedulingIgnoredDuringExecution, preferredDuringSchedulingIgnoredDuringExecution are hard and soft requirements for running the POD on specific nodes. This will be replacing nodeSelector in the future. It depends on the node labels.
|