elmo

Some courses from the catalogue

Taught in English and in Turkish

Hardening Kubernetes Clusters: On-Prem and AKS

Harden the Kubernetes clusters you already run without breaking them — every control shown twice, on a self-managed kubeadm cluster and on AKS.

Duration
5 days instructor-led, or 45–55 hours at your own pace
Lessons
91 in 21 chapters, 10 parts
Questions
505, incl. a 50-question final
Diagrams
22
Animations
15
Format
Instructor-led or self-paced, with labs on a local kind cluster and a replay track for every AKS lab

The course works through every layer an attacker aims at — the API server's reachability, identity, RBAC, the control plane and nodes, audit logging, Secrets at rest, workload privileges, Pod Security, the network, images and scanning. For each one it shows the control twice: on an on-prem kubeadm cluster, where you own everything, and on Azure Kubernetes Service, where Microsoft owns the control plane. One method runs through all of it: observe before you enforce — measure honestly, write the desired state down as data, switch each control on in a warn-only mode, watch it go quiet, and only then enforce, in small reversible steps.

One animation from the material

One request, seven stops

One request, seven stopsTHE API SERVER · ONE REQUEST, SEVEN STOPS, ALWAYS IN THIS ORDER1TLScan it reach:6443 at all?2Authenticationwho iscalling?3AuthorizationRBAC: maythey do this?4Mutatingadmission:may change it5Schemavalidation:well-formed?6ValidatingPod Securityjudges only7etcdthe objectis storedrun 1 · create configmap · allowedconfigmap/audit-probe created✓ passed✓ passed✓ passed✓ passed✓ passed✓ not a Pod✓ storedrun 2 · create pod · refused by RBACILLUSTRATIVE · shape only, not captured403 Forbidden · User "dev" cannot create resource "pods"✓ passed✓ passed✗ 403never reachednever reachednever reachednever reachedrun 3 · create pod · refused by Pod Security403 Forbidden · violates PodSecurity "restricted:latest"✓ passed✓ passed✓ passed✓ passed✓ passed✗ 403never reached/var/log/kubernetes/audit.log · one line per logged request, once the response is completelevel RequestResponse · verb create · configmaps · user kubernetes-admin · stage ResponseCompletelevel Metadata · verb create · pods · user dev · code 403 · stage ResponseCompletelevel Metadata · verb create · pods · user kubernetes-admin · code 403 · stage ResponseComplete

Ported from the course's own animation (lesson 1.1, reused in 7.1 and 11.1). Three kubectl runs pass the API server's seven stops: a ConfigMap is allowed; a user who may only get pods is refused by RBAC at stop 3, so admission never sees the request; a plain nginx Pod in a namespace enforcing restricted is refused by Pod Security at validating admission. Every answer, allowed or refused, gets one audit line once the response is complete. Runs 1 and 3 were measured on a lab cluster; run 2 is illustrative, as the course itself says. The labels are the course's own, in English in both of its editions.

Who it is for

  • Platform engineers about to harden clusters people depend on — every destructive step is rehearsed on a lab cluster first
  • Anyone learning cluster hardening with CKA-level Kubernetes, who wants a self-contained reference with its own labs
  • Teams planning a staged hardening programme across an on-prem cluster and AKS

Before you start

  • Everyday Kubernetes and Linux: kubectl, YAML, Helm and Prometheus. You need not have written an audit policy or a NetworkPolicy before.
  • A laptop with Docker and kind, which is enough for most of the course.
  • Optional: an Azure subscription. Every AKS lab also has a replay track, so none is required.
  • English or Turkish: both editions are the same course, and each reader gets their own language.

What you will be able to do

  1. Measure a cluster's security posture honestly, and tell compliant from empty from exempt.
  2. Lock down API reachability and identity on kubeadm and on AKS.
  3. Turn on API audit logging and encryption at rest without an outage or a leak.
  4. Harden workloads with securityContext and move Pod Security from warn to enforce without breaking anything.
  5. Write NetworkPolicies on Cilium that do what they appear to do.
  6. Run an image scanner whose green dashboard means something.
  7. Plan and run a reversible, staged hardening programme.

Curriculum

Part and lesson titles appear exactly as they do in the course, in the course's own language; the line under each part is the question it answers.

Part 0 — Before you start

What the course assumes, how it works, and the two clusters it keeps coming back to.

  1. 0.1 How this course works
  2. 0.2 Building your practice labs
  3. 0.3 The reference estate: one on-prem cluster, one AKS cluster

Part 1 — Threat model and method

What are you defending, and how do you measure it before changing anything?

  1. 1.1 The attack surface of a Kubernetes cluster
  2. 1.2 Shared responsibility: kubeadm vs AKS
  3. 1.3 The frameworks, and which one to use for what
  4. 1.4 Observe, then enforce: the method of this course
  5. 2.1 The posture survey: one kubectl call per cluster
  6. 2.2 Reading the numbers honestly
  7. 2.3 Pod Security readiness from a server-side dry run
  8. 2.4 Writing a posture report people can trust

Part 2 — The cluster boundary and identity

Who can reach the API server, who is calling, and what may they do?

  1. 3.1 Reachability is the first control
  2. 3.2 On-prem: keep the API on the private network
  3. 3.3 AKS: authorized IP ranges
  4. 3.4 AKS: private clusters and API Server VNet Integration
  5. 4.1 How Kubernetes authenticates
  6. 4.2 On-prem: kubeadm certificates and the admin kubeconfig
  7. 4.3 AKS: local accounts, Entra ID and the credential that is not read-only
  8. 4.4 Service-account tokens
  9. 5.1 The RBAC model
  10. 5.2 The dangerous permissions
  11. 5.3 Auditing RBAC, and where can-i lies
  12. 5.4 Least privilege by enumeration: a read-only reporter's role
  13. 6.1 API server flags that matter
  14. 6.2 etcd: whoever reads it owns the cluster
  15. 6.3 Kubelet hardening, and what kubeadm already did
  16. 6.4 The CIS benchmark with kube-bench
  17. 6.5 Node and host hardening
  18. 6.6 The patching position: versions, skew and upgrade channels

Part 3 — Audit and data at rest

Can you see what happened, and are the Secrets really encrypted?

  1. 7.1 What an audit event is
  2. 7.2 Writing an audit policy: first match wins
  3. 7.3 On-prem: enabling it, one control-plane node at a time
  4. 7.4 Getting the log off the node
  5. 7.5 AKS: diagnostic settings
  6. 7.6 Proving audit works
  7. 8.1 Where Secrets actually live
  8. 8.2 On-prem: encryption at rest with EncryptionConfiguration
  9. 8.3 Key rotation without losing data
  10. 8.4 AKS: platform-managed encryption and KMS with Key Vault
  11. 8.5 The honest limit: the backup archive

Part 4 — Workload hardening

What may a pod do to its node, and how do you enforce that without breaking anything?

  1. 9.1 Root in a container
  2. 9.2 Capabilities, and the arithmetic of the default set
  3. 9.3 seccomp and RuntimeDefault
  4. 9.4 AppArmor and SELinux on the nodes
  5. 9.5 Read-only root filesystems and writable paths
  6. 9.6 Host namespaces, hostPath and hostPort: the doors out
  7. 9.7 User namespaces (hostUsers: false)
  8. 10.1 Pod-level vs container-level fields
  9. 10.2 The image has to cooperate
  10. 10.3 Turning an accident into a guarantee
  11. 10.4 A legitimate exception, minimised: the packet-capture container
  12. 10.5 Requests, limits and quotas as a security control
  13. 11.1 From PodSecurityPolicy to Pod Security Admission
  14. 11.2 Three modes, one label each
  15. 11.3 What enforcement does to what is already running
  16. 11.4 Exemptions: declared, configured and implicit
  17. 11.5 The desired-level table as data
  18. 11.6 Beyond PSA: ValidatingAdmissionPolicy, Kyverno, Gatekeeper, Azure Policy

Part 5 — The network

Does the NetworkPolicy do what it appears to do?

  1. 12.1 Default allow, default deny
  2. 12.2 Selectors and the traps inside them
  3. 12.3 Cilium: identities, entities and the ipBlock that never matches
  4. 12.4 NodePort DNAT happens before policy
  5. 12.5 Ship the policy with the pod, and never blind the scraper
  6. 12.6 AKS networking controls

Part 6 — Supply chain and images

Where do the images come from, and does the scanner's green mean anything?

  1. 13.1 Tags, digests and :latest
  2. 13.2 On-prem: the insecure in-cluster registry
  3. 13.3 AKS: ACR done right
  4. 13.4 Image signing and admission verification
  5. 14.1 What a scanner sees and what it cannot
  6. 14.2 Trivy Operator: architecture and reports
  7. 14.3 The three ways a scanner becomes a dashboard
  8. 14.4 The acceptance test that cannot pass for the wrong reason
  9. 14.5 Egress for the scanner and its jobs
  10. 14.6 Triage: who looks, how often, and what alerts
  11. 15.1 What static controls cannot see

Part 7 — Making posture visible

How do you make posture visible, and prove a control really works?

  1. 16.1 What you already have, and what nobody emits
  2. 16.2 Cardinality: which labels are allowed
  3. 16.3 Keep-lists and gates
  4. 16.4 Approximation vs authority
  5. 17.1 "Running" is not a test
  6. 17.2 Freshness, lookback and the series diff
  7. 17.3 Proving negatives

Part 8 — Running the programme

How do you roll it all out in small, reversible steps?

  1. 18.1 Tranches and sequencing
  2. 18.2 Containing an unavoidable exception: moving a node exporter
  3. 18.3 Enforcing namespace by namespace
  4. 18.4 Control-plane change windows
  5. 18.5 What the programme deliberately does not cover
  6. 19.1 Capstone A — harden the on-prem sample
  7. 19.2 Capstone B — harden the cloud sample

Part 9 — Keeping current

What changes with each Kubernetes release, and how does the course stay current?

  1. 20.1 Versions, support windows and what changed
  2. 20.2 Keeping this course current

Appendices

  1. A — Lab environments
  2. B — Command and template reference
  3. C — CKS and CIS mapping
  4. D — Currency
  5. E — Glossary

Assessment

Every lesson ends with a five-question knowledge check, and the course closes with a 50-question final exam: 505 questions in all. The Turkish edition asks the same questions with the same answer keys, so a result means the same thing in either language.

Sample pages

Captured from the course's own build. The platform's sign-in controls and the learner's personal panels are left out of the frame; everything else is the page as a learner sees it.

The course home page in the reader's language: what the course covers, the observe-before-enforce method, and who it is for.
The course home page in the reader's language: what the course covers, the observe-before-enforce method, and who it is for.
Lesson 1.1, “One request, seven stops”: the API server's seven stops in order, with the course's own animated player for it — the one this page's animation was ported from.
Lesson 1.1, “One request, seven stops”: the API server's seven stops in order, with the course's own animated player for it — the one this page's animation was ported from.
Lesson 1.4 lays out the course's method as six steps every control goes through: measure, declare the desired state as data, warn and audit, watch it go quiet, enforce in small batches, and keep measuring.
Lesson 1.4 lays out the course's method as six steps every control goes through: measure, declare the desired state as data, warn and audit, watch it go quiet, enforce in small batches, and keep measuring.
A knowledge check in lesson 11.2 on Pod Security's three modes, answered and explained on the spot; attempts are recorded.
A knowledge check in lesson 11.2 on Pod Security's three modes, answered and explained on the spot; attempts are recorded.

These durations are the course's own. In class, a platform team covers Parts 0–4, Part 8 and Chapters 12 and 14 in 5 days, with the rest as self-study between sessions. At your own pace, all 91 lessons take about 45–55 hours — an estimate the course says its first pilot will measure. For whoever starts making changes this week there is a one-day fast track of 10 lessons.

Run this course for your people

In a pilot the course runs on elmo beside your own material, and for every learner the platform records enrolment, progress through each page and engaged time, whatever the course's own format.

Request a pilotTalk to us