AITeky Learn

AiTeky Original Interactive Learning & Practice Intermediate

Kubernetes: desired state, scheduling and right-sizing

See how Kubernetes keeps what you asked for running by comparing wanted and actual state again and again, how it picks a server for each container and rolls out a new version safely, and size a deployment for cost and headroom.

Kubernetes runs many containers across many servers and keeps them healthy. You do not tell it what to do step by step. You tell it what you want ("three copies of the web app, version 2") and it keeps working until the real world matches.

This course models three ideas with small programs you can run in your browser: the reconcile loop (wanted versus actual), scheduling and rolling updates, and right-sizing. They mimic Kubernetes; they are not Kubernetes itself. Check the product's documentation for exact commands and settings. All names, sizes and prices are made up.

  • Learn lessons explain one idea at a time and let you run it.
  • Industry ready lessons decide and justify, and end with interview questions.

You should know what a container is (see the Docker and containers course). Basic Python helps.

Locked. Sign up free

Learn

Understand each idea with everyday examples. No coding background needed.

  1. 00 25 min 🔒 AiTeky Pass Start here: you declare, the cluster repairs Learn the idea behind Kubernetes, that you describe the state you want and a loop keeps comparing it with reality and repairing the difference, with pods, nodes and replicas explained.
  2. 01 30 min Free sample 🔒 AiTeky Pass Wanted state and the reconcile loop Model Kubernetes as a loop that compares the state you asked for with the state that exists and fixes the difference, and use it to see why crashed containers come back by themselves and why you change the wanted state instead of starting things by hand.
  3. 02 30 min 🔒 AiTeky Pass Scheduling and safe rollouts Model how Kubernetes picks a server with enough room for each container, why a request that fits nowhere stays pending, and how a rolling update with a readiness check replaces copies one at a time and stops when the new version is not healthy.

Industry ready

Real problems from real jobs, and the questions interviewers ask about them.

  1. 03 35 min 🔒 AiTeky Pass On the job: right-sizing a deployment A service asks for far more memory and processor than it uses, so the cluster is full and the bill is high. Use a month of usage numbers to compare four sizes by cost and by how often copies would be killed, choose one, and write the change note.

We use essential cookies to run the site. With your permission we also set one anonymous ID to count unique visitors, and analytics cookies to see which pages help learners. Cookie notice

Join AiTeky Learn. It's free.

Create a free account to track your progress, save items for later and get study suggestions.

Sign up free Log in