There are about 55 standard resources in Kubernetes that you can control. The first and primary resource you will most likely encounter is a Pod. Pods provide context—such as access to the filesystem and the network on a hosting node—for one or more containers. Because Kubernetes is a container orchestration system, it makes sense that its most important and feature-rich resource is a Pod.
This lab introduces you to Pods and explores some important Pod usage techniques and features. The instructions in this lab closely follow the text of Chapter 5, “Pods,” in the book Kubernetes: Up and Running, third edition.
Along these lines, you may find it particularly helpful to familiarize yourself with the following three sections from the book before starting this lab:
In this lab, you will learn how to:
☐ Create, read, update, and delete a Pod
☐ Define a container in a Pod
☐ Access the network and filesystem context of a Pod
☐ Fix some common problems with starting a Pod
There are many topics around Pods that cannot be fully covered in this introductory lab. However, O’Reilly offers more labs that expand on these Pod-related topics, such as:
Beginner
15 minutes
31 Dec, 2021