Are you building cutting-edge AI applications or running distributed systems? Let Hyperstack streamline your infrastructure setup with on-demand Kubernetes so you can focus on innovation. Hyperstack’s On-Demand Kubernetes is a powerful, API-driven solution for provisioning Kubernetes clusters for modern AI workloads. With just a single API call, you can spin up a complete Kubernetes cluster to deploy and manage containerised applications. You can also scale it as your workload grows with our new APIs for cluster scaling. Scaling a Kubernetes cluster ensures your applications remain responsive and performant as workloads increase.
Want to know how it works? Check out our quick tutorial below to understand how to scale Hyperstack On-demand clusters manually.
Our On-Demand Kubernetes clusters are equipped with the following features, ensuring that your clusters are fully prepared to handle data-heavy AI workloads right from the start.
Check out how to Set Up Kubernetes Clusters on Hyperstack: Step-by-Step Guide.
We’ve introduced scaling for Hyperstack’s On-Demand Kubernetes clusters, here’s how you can scale them manually to meet your growing demands in just two easy steps.
GET: https://infrahub-api.nexgencloud.com/v1/core/clusters/{id}/nodes
Retrieve the cluster ID by calling the List Clusters API.
View the node details of your Kubernetes cluster by including the cluster ID in the request path.
Refer to the full API documentation, including descriptions of the response fields, by clicking here.
curl -X GET "https://infrahub-api.nexgencloud.com/v1/core/clusters/{id}/nodes" \
-H "accept: application/json"\
-H "api_key: YOUR API KEY"
POST: https://infrahub-api.nexgencloud.com/v1/core/clusters/{id}/nodes
curl -X POST "https://infrahub-api.nexgencloud.com/v1/core/clusters/{id}/nodes" \ -H "accept: application/json" \ -H "api_key: YOUR_API_KEY" \ -H "content-type: application/json" \ -d '{ "role": "worker", "count": { # of nodes} }'
DELETE: https://infrahub-api.nexgencloud.com/v1/core/clusters/{id}/nodes/{node_id}
Before deleting a node from your Kubernetes cluster, you must first drain and remove it from Kubernetes to prevent orphaned resources. Use the following kubectl commands to safely detach the node from Kubernetes:
kubectl drain <node-name> --ignore-daemonsets --delete-emptydir-data # Remove running workloads from the node
kubectl delete node <node-name> # Remove node from Kubernetes API
Once the node has been removed from Kubernetes, you can proceed with deleting it in Hyperstack via the API below.
curl -X DELETE "https://infrahub-api.nexgencloud.com/v1/core/clusters/{id}/nodes/{node_id}" \
-H "accept: application/json"\
-H "api_key: YOUR API KEY"
Important: Any data stored on a deleted node will be permanently lost and cannot be recovered.
Hyperstack’s On-Demand Kubernetes simplifies scaling for modern AI workloads, offering a flexible, API-driven solution to manage clusters effortlessly. With features like single API call, NVIDIA GPU optimisation and high-speed networking, it’s built to handle data-intensive tasks while keeping your applications responsive. Manually scaling your cluster whether adding or removing worker nodes is an easy process with Hyperstack’s intuitive APIs, giving you precise control over resources.
It’s an API-driven service to deploy and scale Kubernetes clusters for AI and data-intensive workloads. Launch clusters effortlessly with a single call.
You can use Hyperstack’s scaling APIs to add or remove worker nodes by specifying the cluster ID and node count.
Currently, only worker nodes can be added dynamically; other roles are pre-configured during deployment.
All data on a deleted node is permanently lost, so back up critical information first.
Clusters are fully operational within minutes, thanks to Hyperstack’s automated provisioning.
Yes, it includes NVIDIA-optimised drivers and high-speed networking tailored for AI/ML tasks.