IT & Cloud free courses

Master the TrickProfessionalFree

Kubernetes Concepts

Understand Pods, Deployments, Services and health checks through paper-based cluster scenarios.

3 reading lessons · about 30 min ·written by MTT

The idea

A Pod is a Kubernetes scheduling unit containing one or more containers with shared context. A Deployment manages a desired set of Pods through controllers. Pod instances can be replaced and their addresses can change. Desired replicas express a target, not a guarantee of healthy capacity under every condition.

Worked example

A fictional Deployment requests three replicas of a web service. If one Pod fails, a controller works toward the desired state. The replacement is not the same instance, so data kept only in the old container filesystem should not be treated as durable.

Try it

Draw a Deployment and three Pods, then replace one Pod. Label desired state versus observed state. Explain which identity or address may change and why three requested replicas do not prove the service can withstand every outage.

Lesson 1 of 3 · About 10 min

Describe desired workloads

Check your understanding

Course quiz

Finish the course to unlock the quiz

Complete all 3 lessons and 5 questions open up here. You have 3 to go.

What you will learn

  • Distinguish workloads from stable service access
  • Explain readiness versus liveness
  • Plan persistent data and scoped access

Before you start

Prerequisites
Basic container familiarity. No live cluster is required; hosted infrastructure can incur charges.
Cost
Free introductory reading lessons, exercises and quiz. Optional third-party tools, hosting or AI subscriptions may cost money.

Original introductory lessons and assessment by Master the Trick. Estimated times include the suggested exercises.