Lesson 3: Pods

3 min
  • Understand what a Pod is
  • Create Pods in different ways
  • Inspect and debug Pods
  • Understand a Pod's life cycle

3.1 What is a Pod?

Simple definition

A Pod is the smallest unit in Kubernetes. It is a group of one or more containers that:

  • Share the same network (same IP)
  • Share the same storage
  • Always run on the same machine

Analogy

Think of a Pod as an apartment:

  • The apartment = the Pod
  • The rooms = the containers
  • Roommates share the kitchen and bathroom = shared network and storage

Preview — the rest of the lesson is for enrolled readers.

Already enrolled with a code?

Your access is tied to your account, not to this link. Sign in with the same email you used in class: your course is waiting, no need to enter the code again.

Sign inNo account yet? Create one
This lesson is part of the “Module 5: Kubernetes - Basic Deployment” module

The first modules of the course are open to everyone. For the rest you have three options: buy this course once and for all, subscribe, or enter the code handed out in class.

Are you a student on this course?

The code is tied to your account: sign in or create an account and it will be applied automatically when you come back.

No account yet? Create one