Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Chapter 9: Namespaces, RBAC, and Multi-Tenancy

⏱️ Total chapter time: ~55 min (25 min reading + 30 min lab)

After this chapter, you will be able to: Organize workloads into namespaces, control access using Roles and RoleBindings, create service accounts for pods, and design a basic multi-tenant cluster layout.

What’s Inside

SectionTopicTime
9.1Namespaces — Cluster Partitioning~5 min
9.2RBAC — Roles, ClusterRoles, and Bindings~8 min
9.3ServiceAccounts — Pod Identities~6 min
9.4Multi-Tenancy Patterns~5 min
9.5🔬 Lab: Lock Down a Namespace~30 min

Prerequisites

  • Comfortable with kubectl (Chapter 2)
  • minikube status shows Running