beginner7 h 55 min16 lessons

Kubernetes Foundations

Kubernetes from the ground up, one object at a time. Pods, Deployments, Services, Ingress, configuration, storage, probes and rollouts — each introduced by the failure it absorbs, on a cluster running on your own laptop.

by DevFox

Start course

What you will cover

  1. Why Kubernetes ExistsYou can run containers with Compose, so why is there a cluster? The failures Kubernetes was built to absorb — a dead machine, a traffic spike, a bad deploy — and the declarative idea underneath all of it.25 min
  2. What a Cluster Is Made OfControl plane, nodes, kubelet, scheduler and etcd, explained as one loop: you write down what you want, and something keeps reality matching it.30 min
  3. A Cluster on Your LaptopInstall kind or minikube, get kubectl talking to it, and understand the kubeconfig file well enough never to deploy into the wrong cluster.25 min
  4. Pods, the Smallest Unit You DeployKubernetes never runs a container on its own. What a pod adds, why sidecars share one, and why you will almost never create one by hand.30 min
  5. Manifests and kubectl applyYAML as the interface: apiVersion, kind, metadata and spec, the difference between apply and create, and why declaring the end state beats issuing commands.30 min
  6. Deployments That Keep Pods RunningThe controller you actually use. Replicas, the ReplicaSet underneath, scaling up and down, and what happens when you delete a pod a Deployment owns.30 min
  7. Services and Reaching Your PodsPod IPs change constantly, so nothing addresses them directly. ClusterIP, NodePort and LoadBalancer, cluster DNS, and how a Service finds its pods.30 min
  8. Ingress and Getting Traffic InOne entry point, many services. Ingress rules, hostnames and paths, TLS termination, and why an Ingress does nothing without a controller behind it.30 min
  9. Labels, Selectors and NamespacesHow Kubernetes groups things without a hierarchy: labels as the glue every controller uses, selectors as the query, and namespaces as the boundary around a whole environment.25 min
  10. ConfigMaps and SecretsGetting configuration into a pod as environment variables or mounted files, and the honest truth about how much protection a Secret does and does not give you.30 min
  11. Persistent Storage for Your DataPods are disposable and disks are not. PersistentVolumes, claims, StorageClasses and access modes — enough to run something stateful without losing it.30 min
  12. Probes, Restarts and Self-HealingLiveness, readiness and startup probes: how the cluster decides your app is alive, ready for traffic, or beyond saving — and what a badly written probe costs.30 min
  13. Requests, Limits and SchedulingWhy a pod sits Pending forever, and why another one keeps getting killed. CPU and memory requests versus limits, OOMKilled, and how the scheduler places work.30 min
  14. Rolling Updates and RollbacksShipping a new version without dropping a request: rollout strategy, maxSurge and maxUnavailable, watching a rollout, and undoing one that went wrong.30 min
  15. Debugging a Pod That Will Not RunA method for Pending, ImagePullBackOff, CrashLoopBackOff and the pod that is Running but wrong — describe, events, logs, previous logs, exec, and what each one tells you.35 min
  16. Your First App on KubernetesThe capstone: take the container you built earlier and give it a Deployment, a Service, configuration, storage, probes and an Ingress — then update it and roll it back.35 min