Skip to main content

K8s cost discipline

Get Kubernetes cost under control, from requests and limits to autoscaler history, idle workloads and orphaned storage.

Module
M3.3
Lessons
6
Quiz
1
Time
~54 min
Your progress
0 of 7 complete0%

6 lessons. 1 quiz.

Read in order, or jump to what you need.

L1

Requests and limits: the math behind the bill

By the end of this lesson, you will be able to calculate the K8s cost impact of resource requests and limits, diagnose over-provisioning from cluster utilization data, and set requests/limits to the right p95/p99 sweet spot.

9 min
L2

HPA: the signal it gives you

By the end of this lesson, you will be able to read HPA signals to identify right-sizing opportunities, diagnose the four common HPA patterns (at-min, at-max, oscillating, balanced), and tune HPA settings based on observed behavior.

9 min
L3

The seven idle workload shapes

By the end of this lesson, you will be able to identify all seven shapes of K8s idle workloads, detect each via kubectl / metrics / ZopNight, and remediate appropriately (terminate, fix, leave).

9 min
L4

Single-replica deployments: reliability vs cost

By the end of this lesson, you will be able to decide when single-replica is acceptable vs when reliability requires more, calculate the reliability math behind replica counts, and configure monitoring + recovery for single-replica workloads.

9 min
L5

Security signals: privileged, root, host network

By the end of this lesson, you will be able to recognize the K8s security signals that correlate with cost optimization opportunities, audit your cluster for these signals, and combine security modernization with cost savings.

9 min
L6

Orphan PVCs and released PVs

By the end of this lesson, you will be able to identify orphaned K8s PersistentVolumeClaims and PersistentVolumes, calculate the storage cost they accumulate, and execute cleanup with the right reclaim policy going forward.

9 min

Start with the bill.

Foundations takes about five hours. The first lesson is nine minutes.

Free curriculum. No paywall. 290 lessons across 7 courses, plus an optional 24-lesson beginner course. Browse every course without an account; a free account opens the lessons, saves your progress and opens the exams for three publicly verifiable credentials. Read it on the train, take the exam on a Saturday, list the credential on your résumé Monday.

5h median time to finish Foundations
free account, every course, no paywall
3 certifications, each with a public verifier
Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001· 20–60% off the bill, first month· 4 platforms · 1 console· Multi-cloud automation· Production-ready in 30 min· SOC 2 · ISO 27001· 20–60% off the bill, first month· 4 platforms · 1 console·