Chapter 2. First steps with Docker and Kubernetes

This chapter covers

  • Creating, running, and sharing a container image with Docker
  • Running a single-node Kubernetes cluster locally
  • Setting up a Kubernetes cluster on Google Kubernetes Engine
  • Setting up and using the kubectl command-line client
  • Deploying an app on Kubernetes and scaling it horizontally

Before you start learning about Kubernetes concepts in detail, let’s see how to create a simple application, package it into a container image, and run it in a managed Kubernetes cluster (in Google Kubernetes Engine) or in a local single-node cluster. This should give you a slightly better overview of the whole Kubernetes system and will make it easier to follow the next few chapters, where we’ll ...

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.