Multi-instance type
The cluster can be configured to provision different instance types depending on what resources the APIs request. The multi instance type cluster has the following advantages over the single-instance type cluster:
Lower costs: Reduced overall compute costs by using the most economical instance for the given workloads.
Simpler logistics: Managing multiple clusters on your own is no longer required.
Multi-purpose cluster: The cluster can now take any range of workloads. One cluster for everything. Just throw a bunch of node groups in the cluster config, and you’re set.
Best practices
When specifying the node groups in your cluster.yaml
config, keep in mind that node groups with lower indexes have a higher priority over the other ones. With that mind, the best practices that result from this are:
Node groups with smaller instances should have the higher priority.
Node groups with CPU-only instances should come before the node groups equipped with GPU/Inferentia instances.
The spot node groups should always come first over the ones that have on-demand instances.
Example node groups
CPU spot/on-demand with GPU on-demand
CPU on-demand, GPU on-demand and Inferentia on-demand
3 spot CPU node groups with 1 on-demand CPU
The above can also be achieved with the following config.
Last updated