Lesson 4: Deployments

2 min
  • Understand what a Deployment is
  • Create Deployments
  • Scale an application
  • Ship updates with no downtime

4.1 The problem with standalone Pods

What goes wrong

In the previous lesson, we created Pods directly. But:

  • If a Pod crashes → it does not restart
  • If you want 5 copies → you have to create 5 files
  • For an update → you have to delete everything and recreate it

That is not manageable in production!

The solution: Deployments

A Deployment is a resource that:

  • Manages several identical Pods (replicas)
  • Restarts them automatically if they crash
  • Allows progressive updates
  • Keeps the version history

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