Kubernetes
intermediate
~14 hours

Basic Kubernetes

Deploy workloads on Kubernetes: pods, services, storage, and autoscaling fundamentals.

Chapter 1: Kubernetes Fundamentals

Architecture Overview

Control plane schedules work; worker nodes run kubelet and container runtime.

Note: Expand this section with your own examples and production notes.

Nodes, Pods, Services

Pods are the smallest deployable unit; Services provide stable networking.

Note: Expand this section with your own examples and production notes.

Master Components

API server, etcd, scheduler, and controller-manager coordinate cluster state.

Note: Expand this section with your own examples and production notes.

Chapter 2: Deployments & Services

Creating Deployments

Deployments manage ReplicaSets for rolling updates.

apiVersion: apps/v1
kind: Deployment
metadata:
  name: api
spec:
  replicas: 3
  selector:
    matchLabels:
      app: api
Note: Expand this section with your own examples and production notes.

Service Types

ClusterIP for internal traffic; NodePort and LoadBalancer expose externally.

Note: Expand this section with your own examples and production notes.

Network Policies

Restrict pod-to-pod traffic with label selectors.

Note: Expand this section with your own examples and production notes.

Chapter 3: Storage & Configuration

Persistent Volumes

PVs and PVCs decouple storage from pod lifecycle.

Note: Expand this section with your own examples and production notes.

ConfigMaps & Secrets

Externalize config; never commit secrets to Git.

Note: Expand this section with your own examples and production notes.

StatefulSets

Ordered deploy and stable network IDs for databases.

Note: Expand this section with your own examples and production notes.

Chapter 4: Monitoring & Scaling

Horizontal Pod Autoscaling

HPA scales replicas based on CPU or custom metrics.

Note: Expand this section with your own examples and production notes.

Resource Monitoring

Use metrics-server; export to Prometheus and Grafana.

Note: Expand this section with your own examples and production notes.

Logging

Centralize with Fluent Bit or Loki; correlate by pod labels.

Note: Expand this section with your own examples and production notes.