Chapter 3: Running Application Containers on Kubernetes

This chapter contains a comprehensive overview of the smallest Lego block that Kubernetes provides – the Pod. Included is an explanation of the PodSpec YAML format and possible configurations, and a quick discussion of how Kubernetes handles and schedules Pods. The Pod is the most basic way to run applications on Kubernetes and is used in all higher-order application controllers.

In this chapter, we will cover the following topics:

  • What is a Pod?
  • Namespaces
  • The Pod life cycle
  • The Pod resource spec
  • Pod scheduling

Technical requirements

In order to run the commands detailed in this chapter, you will need a computer that supports the kubectl command-line tool, along with a working Kubernetes ...

Get Cloud Native with Kubernetes 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.