Appendix B. Setting up a multi-node cluster with kubeadm

This appendix shows how to install a Kubernetes cluster with multiple nodes. You’ll run the nodes inside virtual machines through VirtualBox, but you can also use a different virtualization tool or bare-metal machines. To set up both the master and the worker nodes, you’ll use the kubeadm tool.

B.1. Setting up the OS and required packages

First, you need to download and install VirtualBox, if you don’t have it installed already. You can download it from Once you have it running, download the CentOS 7 minimal ISO image from You can also use a different Linux distribution, but make sure it’s supported by checking the ...

Get Kubernetes in Action now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.