Chapter 4: Creating and Deploying Applications

In the previous chapters, we have learned about Kubernetes nodes. Let's finally deploy an application using a Kubernetes deployment, scale the application up, and create a service for it.

A Kubernetes deployment is one way to deploy applications from Docker images, and we are going to use it for our example applications.

Kubernetes supports a few container runtimes, all of which can run Docker images:

  • Docker
  • CRI-O
  • Containerd

In this chapter, we're going to cover the following topics:

  • Introduction to pods
  • Creating a deployment
  • Creating a service
  • Scaling up an application

Introduction to pods

A pod is a collocated group of application containers with shared volumes.

The applications in a pod ...

Get kubectl: Command-Line Kubernetes in a Nutshell now with O’Reilly online learning.

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