Week 13: Production Kubernetes — Clusters, Networking, RBAC

Theme: Build and operate production-grade Kubernetes clusters.

Learning Objectives

  1. Provision a multi-node Kubernetes cluster with kubeadm or kOps
  2. Configure networking policies (Calico, Cilium)
  3. Implement RBAC with least-privilege principles
  4. Manage node pools, taints/tolerations, affinity rules

Reading Materials

Finger Exercises (choose 2)

  1. Write a NetworkPolicy that allows only the Go app to talk to the Python worker on port 8080. Deny all other ingress.
  2. Create a ServiceAccount for the Go app. Bind it to a Role with least privilege (only get/list pods, create events).
  3. Set up node affinity: schedule the Go app on nodes with label workload=services, Python worker on workload=workers.

Project

Time Budget

ActivityTime
Reading2 hrs
Finger exercises1.5 hrs
Project2.5 hrs
Total6 hrs