Skip to content

Latest commit

 

History

History
22 lines (14 loc) · 762 Bytes

Setup_worker_nodes.md

File metadata and controls

22 lines (14 loc) · 762 Bytes

Setting up worker nodes

Preparation

  1. OPTIONAL: If you want to add a network proxy, see Configuring a proxy
  2. cmt prepare HOSTNAME[,HOSTNAME...]
  3. [Wait until cmt prepare completes]

Add worker nodes

  1. cmt add-node [--kubernetes-distro KUBERNETES_DISTRO] HOSTNAME[,HOSTNAME...]

    (By default kubeadm will be used; if you use RKE2 you need to specify the --kubernetes-distro option)

  2. [Wait until cmt add-node completes]

Performance considerations

If you are preparing a lot of worker nodes at the same time you may want to increase the parallelism, using the --forks FORKS option. Check cmt prepare --help for more information. The same option can be used with cmt add-node.