Equinix Metal provides an API for creating multiple devices in a batch. One of the benefits of this are that a single API call can be used to create all of the nodes and an availability issue can be surfaced pre-provisioning. Multiple batches can be sent in a single request and these batches can each include a count and list of hostnames.
This could be used to, for example, provision in one-shot a batch of {"hostname":"k8s-cp-{index}", "count": 3} alongside node pools {"hostnames":["k8s-nodepool-gpu-node-a", "k8s-nodepool-gpu-node-b"], "count": 2} and {"hostname":{"k8s-nodepool-cpu-node-{index}", "count":3}.
SUMMARY
Equinix Metal provides an API for creating multiple devices in a batch. One of the benefits of this are that a single API call can be used to create all of the nodes and an availability issue can be surfaced pre-provisioning. Multiple batches can be sent in a single request and these batches can each include a
count
and list ofhostnames
.This could be used to, for example, provision in one-shot a batch of
{"hostname":"k8s-cp-{index}", "count": 3}
alongside node pools{"hostnames":["k8s-nodepool-gpu-node-a", "k8s-nodepool-gpu-node-b"], "count": 2}
and{"hostname":{"k8s-nodepool-cpu-node-{index}", "count":3}
.https://deploy.equinix.com/developers/api/metal#tag/Batches/operation/createDeviceBatch
This could help to resolve #124
ISSUE TYPE
COMPONENT NAME
ADDITIONAL INFORMATION