Pods and Workloads
Introduction
Table of Contents
Understanding Pods
Pod Anatomy
Simple Pod Definition
Multi-Container Pods
Init Containers
Pod Networking
Pod Storage
Pod Lifecycle and States
Pod Phase Diagram
Container States
Pod Conditions
Deployments and ReplicaSets
Deployment Architecture
Complete Deployment Example
Managing Deployments
Deployment Strategies
Blue-Green Deployment Pattern
Canary Deployment Pattern
StatefulSets for Stateful Applications
StatefulSet vs Deployment
StatefulSet Example
StatefulSet Features
Managing StatefulSets
DaemonSets for Node-Level Services
DaemonSet Example
Node Selection for DaemonSets
Jobs for Batch Processing
Simple Job
Parallel Jobs
Managing Jobs
CronJobs for Scheduled Tasks
CronJob Example
Common Cron Schedules
Managing CronJobs
Health Checks and Probes
Probe Types
HTTP Probes
TCP Probes
Exec Probes
gRPC Probes (Kubernetes 1.24+)
Resource Requests and Limits
Resource Types
Resource Units
Quality of Service Classes
LimitRange for Namespace Defaults
ResourceQuota for Namespace Limits
Pod Disruption Budgets
PodDisruptionBudget Example
PDB with Percentage
Checking PDB Status
What I Learned
Last updated