Overview
Node groups are named pools of worker nodes within a single Kubernetes cluster. Each group can have a different instance flavor, enabling heterogeneous clusters — e.g., a GPU node pool for machine learning workloads alongside a general-purpose pool for web services. Node groups are scaled independently, giving fine-grained control over capacity without affecting other workloads on the cluster.Prerequisites
- A cluster in
CREATE_COMPLETEstatus - Sufficient compute quota for the new node group
Default Node Group
Every cluster has a default node group created at provisioning time. Its flavor and node count are set by the cluster template and the initial node count parameter. The default node group is nameddefault-worker.
List node groups for a cluster
Create a Node Group
- Dashboard
- CLI
Navigate to the cluster
Log in to the Xloud Dashboard (
https://connect.<your-domain>) and navigate to
Project → Containers → Clusters. Click your cluster name.Create node group
Click Create Node Group and fill in the fields:
| Field | Description | Example |
|---|---|---|
| Name | Unique name within the cluster | gpu-workers |
| Node Count | Initial number of nodes in the group | 2 |
| Flavor | Instance size for this group | g1.xlarge |
| Min Nodes | Minimum nodes for autoscaling | 1 |
| Max Nodes | Maximum nodes for autoscaling | 5 |
| Role | worker or infra | worker |
Scale a Node Group
- Dashboard
- CLI
On the cluster detail page, click the Node Groups tab. Find the node group
and click Actions → Resize. Enter the new node count and confirm.
Schedule Workloads to a Specific Node Group
Use Kubernetes node selectors or taints and tolerations to target workloads to a specific node group.Taint all GPU nodes
Delete a Node Group
Deleting a node group removes all nodes in the group and evicts all pods running on
them. Ensure workloads have been migrated to other node groups before deletion.
Delete a node group
Next Steps
Scale Cluster
Resize the default node group for overall cluster capacity changes.
Cluster Upgrades
Upgrade Kubernetes version across all node groups.
Access Cluster
Configure kubectl to connect to your cluster and verify node readiness.
Troubleshooting
Resolve node group creation and scaling failures.