3: Getting Kubernetes

This chapter shows a couple of ways to get a Kubernetes cluster you can use to follow the hands-on examples throughout the book.

You’ll learn how to:

  1. Create a Kubernetes cluster on your laptop (free)
  2. Create a hosted Kubernetes cluster in the cloud (costs money)

There are lots of ways to get Kubernetes, and we can’t cover them all. However, I’ve hand-picked two that are easy and will allow you to follow most of the examples in the book. You can use other clusters, but some of the hands-on examples may have small and subtle differences.

The laptop example builds a single-node Kubernetes cluster in Docker Desktop. I recommend this option for most readers, as it’s free1, and you can follow almost all the examples.

The cloud ...

Get The Kubernetes Book - Second Edition 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.