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 https://www.virtualbox.org/wiki/Downloads. Once you have it running, download the CentOS 7 minimal ISO image from www.centos.org/download. You can also use a different Linux distribution, but make sure it’s supported by checking the http://kubernetes.io ...

Get Kubernetes in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.