Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement a Batch Devices module #123

Open
displague opened this issue Oct 5, 2023 · 1 comment
Open

Implement a Batch Devices module #123

displague opened this issue Oct 5, 2023 · 1 comment
Labels
enhancement New feature or request

Comments

@displague
Copy link
Member

displague commented Oct 5, 2023

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 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}.

https://deploy.equinix.com/developers/api/metal#tag/Batches/operation/createDeviceBatch

This could help to resolve #124

ISSUE TYPE
  • Feature Idea
COMPONENT NAME
ADDITIONAL INFORMATION
@displague displague added the enhancement New feature or request label Oct 5, 2023
@displague
Copy link
Member Author

Client-side alternatives are offered in #124 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant