Study FAQ
How do you configure VKS worker pools for workloads with different placement needs?
Also asked as 2
- How do VKS node pools use VM classes, labels, and taints to separate workloads?
- How do you put a workload on a dedicated VKS worker pool?
Answer
In VKS 3.4 with a compatible v1beta1 ClusterClass, define a separate worker pool for nodes that need a different supported VM class, placement or scheduling configuration. Configure the pool through its owning workflow, then put the matching workload placement rules in the guest cluster.
Each entry under spec.topology.workers.machineDeployments represents a named pool. Choose a VM class sized for the workload and exposed by the vSphere Namespace. For a directly managed v1beta1 Cluster, use the named pool's variable overrides, including the node variable for labels and taints. For LCI-managed clusters, use the supported vSphere Client topology controls. Check the installed class for supported per-pool overrides and the applicable placement constraints. Labels and taints can be set in the pool's node configuration on the supported schema. Labels enable a workload's node selector or node affinity to select the pool. A taint can repel workloads that lack a corresponding toleration. A toleration on its own does not select that pool.
Reconcile the Cluster and confirm that the new or updated guests register with the expected labels and taints. Deploy a representative workload and check its assigned node and scheduling events. Existing nodes may roll when topology variables change, so check the specific variable and plan spare capacity before editing a live pool. VKS 3.5 and later expose a different CAPI version; check the installed schema before reusing v1beta1 field paths.
References
Full explanation
Provisioning VKS Clusters: YAML, VM Classes, Node Pools, and Scaling
Study guide · 3V0-24.25
Read the full explanation