Skip to main content

How do I add, change, or remove node pools?

Syself support For release

To add or remove Kubernetes node pools on Syself Autopilot, you edit the machineDeployments list in the Cluster object. Each entry is one pool. Syself Autopilot then creates, replaces or removes the servers in your Hetzner account to match. A bare-metal pool takes its servers from the dedicated servers you registered.

The Cluster is a Kubernetes resource on the management cluster. You change it like any other resource: with kubectl, or in Git if a GitOps tool applies it.

plaintext
				kubectl edit cluster <cluster-name>
			
  • Add a pool. Add an entry under spec.topology.workers.machineDeployments with a unique name, a class and a replica count. The class is workeramd64hcloud for Hetzner Cloud servers or workeramd64baremetal for dedicated servers.
  • Change a pool. Edit the entry. A new replica count adds or removes nodes. A new server type replaces the nodes one after another: see A Hetzner server type is deprecated or unavailable. How do we move?
  • Remove a pool. Scale it to zero first and check that your workloads run on the other pools. Then delete the entry.

You do not have to write the entry by hand. In the Cluster Configurator you fill in the fields of a pool and copy the finished manifest.

A complete example of a pool is in Add cloud servers. To see what happens to the servers when a pool grows or shrinks, read Scale a node pool.

Still stuck?

Prepare your case, then email us.