Create Elastic Node Pool
INFO
To learn about Elastic Node Pools and the provider/consumer model, see Elastic Node Pools.
An Elastic Node Pool creates virtual Kubernetes worker nodes from an Elastic Quota and joins them to a Cluster.
Prerequisites
- An Elastic Quota allocated to your organization
- A Cluster to join the virtual nodes to
Create a Node Pool
- Navigate to your Cluster → Elastic Node Pools → Create Elastic Node Pool
- Configure the properties:
| Property | Description | Required |
|---|---|---|
| Name | A unique name for this Node Pool (cannot be changed later) | Yes |
| Elastic Quota | The Share to draw resources from (cannot be changed later) | Yes |
| Kubernetes Version | The Kubernetes version for the virtual nodes | Yes |
| Node Count | Number of virtual worker nodes | Yes |
| vCPUs | vCPUs per node | Yes |
| Memory (MB) | Memory per node in MB | Yes |
| Disk (GB) | Disk space per node in GB | Yes |
- Click Roll out
The total resource consumption (node count × node shape) must fit within the Quota's remaining capacity. Monitor the operation progress — once the Node Pool is ready, the virtual nodes appear as worker nodes in your Cluster.
Terraform
terraform
# create an elastic node pool consuming the quota
resource "meltcloud_elastic_node_pool" "example" {
cluster_id = meltcloud_cluster.example.id
elastic_quota_id = data.meltcloud_elastic_quota.existing.id
name = "nodepool1"
version = "1.35"
node_count = 1
node_config {
vcpus = 4
memory_mib = 2048
disk_gib = 20
}
}