> ## Documentation Index
> Fetch the complete documentation index at: https://resources.devweekends.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Kubernetes Crash Course

> Master container orchestration - the platform that runs the modern internet

![Kubernetes Architecture Overview](https://mintcdn.com/devweeekends/emzPt-9B_R8UKdqm/images/courses/devops-tools/kubernetes-architecture.svg?fit=max\&auto=format\&n=emzPt-9B_R8UKdqm\&q=85\&s=93d3379459eb8edce3ab10fe86113f87)

# Kubernetes Crash Course

> **"Kubernetes is to distributed systems what an operating system is to a computer."** - Kelsey Hightower

Kubernetes (K8s) is not just another tool. It is the operating system for the cloud. Google runs billions of containers on it. Netflix, Spotify, Airbnb - they all bet their infrastructure on Kubernetes. This course takes you from kubectl-curious to production-ready.

***

## Why Kubernetes Matters

> **Orchestration**
>
> Manage thousands of containers automatically

> **Self-Healing**
>
> Auto-restart failed containers, replace nodes

> **Scaling**
>
> Auto-scale based on CPU, memory, custom metrics

> **Cloud Native**
>
> Industry standard for container orchestration

***

## The Story Behind Kubernetes

**2014**: Google open-sourced Kubernetes, based on their internal Borg system.

**The Problem**:

* Managing containers manually doesn't scale
* Need automated deployment and scaling
* Service discovery and load balancing
* Rolling updates without downtime

**The Solution**: Kubernetes

* Declarative configuration
* Self-healing systems
* Horizontal auto-scaling
* Service discovery and load balancing
* Automated rollouts and rollbacks

**Today**: Kubernetes powers:

* **Google**: Runs billions of containers
* **Spotify**: Entire infrastructure
* **Airbnb**: Microservices platform
* **Pokemon Go**: Handled massive scale
* Every major cloud provider (EKS, GKE, AKS)

**CNCF**: Donated to Cloud Native Computing Foundation (2015)

***

## What You'll Learn

**1. Fundamentals**

Pods, nodes, clusters, namespaces. The building blocks you need to understand before anything else.
[Start Here](https://resources.devweekends.com/courses/devops-tools/kubernetes-fundamentals.md)

**2. Internals Deep Dive**

etcd, the scheduler algorithm, controller patterns, CNI/CSI. If you love understanding how things actually work, this one is for you.
[Explore Internals](https://resources.devweekends.com/courses/devops-tools/kubernetes-internals)

**3. Workloads**

Deployments, ReplicaSets, StatefulSets, DaemonSets, Jobs. How to run anything on Kubernetes.
[Deploy Apps](https://resources.devweekends.com/courses/devops-tools/kubernetes-workloads.md)

**4. Services**

Service types, load balancing, Ingress controllers, DNS. Exposing your applications to the world.
[Expose Services](https://resources.devweekends.com/courses/devops-tools/kubernetes-services.md)

**5. Configuration**

ConfigMaps, Secrets, environment variables. Managing configuration without rebuilding images.
[Manage Config](https://resources.devweekends.com/courses/devops-tools/kubernetes-config.md)

**6. Storage**

Volumes, PersistentVolumes, PersistentVolumeClaims, StorageClasses. Stateful workloads done right.
[Handle Storage](https://resources.devweekends.com/courses/devops-tools/kubernetes-storage.md)

**7. Helm**

Package management for Kubernetes. Deploy complex applications with a single command.
[Use Helm](https://resources.devweekends.com/courses/devops-tools/kubernetes-helm)

**8. Windows and Linux**

Platform-specific considerations, Windows containers, hybrid clusters. Real-world complexity.
[Platform Details](https://resources.devweekends.com/courses/devops-tools/kubernetes-windows-linux.md)

***

## Kubernetes vs Docker Swarm

| Feature | Kubernetes | Docker Swarm |
| - | - | - |
| **Complexity** | High (steeper learning curve) | Low (simpler mental model) |
| **Features** | Extensive (RBAC, CRDs, operators, service mesh) | Basic (services, overlay networks) |
| **Community** | Massive (CNCF, every cloud provider, thousands of contributors) | Small and shrinking |
| **Adoption** | Industry standard for container orchestration | Declining, rarely seen in production |
| **Learning Curve** | Steep but worth the investment | Gentle but limited ceiling |

**Verdict**: Kubernetes won decisively. Docker Swarm still exists but is effectively in maintenance mode. If you are starting a new project, Kubernetes is the only serious choice for container orchestration. The complexity is real, but managed Kubernetes offerings (EKS, GKE, AKS) absorb most of the operational burden of running the control plane.

***

## Course Structure

### Module 1: Fundamentals (2-3 hours)

Cluster architecture, pods, nodes, namespaces. kubectl basics that you will use every single day.

### Module 2: Internals Deep Dive (2-3 hours)

etcd and the Raft consensus protocol, scheduler algorithms, the controller pattern, CNI and CSI interfaces. **If you love internals, continue. If not, skip to Module 3.**

### Module 3: Workloads (2-3 hours)

Deployments for stateless apps, StatefulSets for databases, DaemonSets for node-level services, Jobs and CronJobs for batch processing.

### Module 4: Services (2 hours)

ClusterIP, NodePort, LoadBalancer, ExternalName. Ingress controllers. Service discovery and DNS.

### Module 5: Configuration (2 hours)

ConfigMaps for non-sensitive config, Secrets for sensitive data. Environment variables, volume mounts, immutable configurations.

### Module 6: Storage (2 hours)

emptyDir, hostPath, PersistentVolumes, PersistentVolumeClaims, StorageClasses. Dynamic provisioning.

### Module 7: Helm (1-2 hours)

Charts, releases, values files. The package manager that makes complex deployments manageable.

### Module 8: Windows and Linux (1-2 hours)

Windows container support, node selectors, taints and tolerations for heterogeneous clusters.

***

Ready to master Kubernetes? Start with [Kubernetes Fundamentals](https://resources.devweekends.com/courses/devops-tools/kubernetes-fundamentals.md) or dive straight into [Internals Deep Dive](https://resources.devweekends.com/courses/devops-tools/kubernetes-internals) if you want to understand how the control plane really works.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.