Kubernetes Curriculum
On this page
- Kubernetes Version Updates
- Why Upgrade?
- Upgrade Timeline
- Support Window
- What I See Teams Get Wrong
- Upgrade Path for Your Cluster
- Step 1: Know Your Current Version
- Step 2: Plan Upgrade Target
- Step 3: Check Compatibility
- Upgrade Strategies
- Strategy 1: Blue-Green (Low Downtime)
- Strategy 2: In-Place (Traditional)
- Strategy 3: Rolling (Managed Services)
- Real Cluster Upgrade Workflow
- Common Issues During Upgrade
- Issue 1: API Version Not Found
- Issue 2: Pod Stuck Pending
- Issue 3: Control Plane Won't Start
- Downgrade (If Needed)
- Summary
Kubernetes Version Updates
Why Upgrade?
Imagine you've been running Kubernetes 1.20 for a year. Your cluster is stable, everything works. But now you're hearing about new features in 1.26, security patches, performance improvements, and deprecations in your current version. You face a choice: upgrade or risk falling behind.
Cluster upgrades are necessary but can be risky if not done properly.
Version Strategy
Upgrade Timeline
You should upgrade within ~1 year to stay supported.
Support Window
What I See Teams Get Wrong
WRONG — Skip Minor Versions
RIGHT — Upgrade Incrementally
Upgrade Path for Your Cluster
Step 1: Know Your Current Version
Step 2: Plan Upgrade Target
Step 3: Check Compatibility
Upgrade Strategies
Strategy 1: Blue-Green (Low Downtime)
Pros: Minimal downtime, easy rollback Cons: Requires duplicate infrastructure, expensive
Strategy 2: In-Place (Traditional)
Pros: Single cluster, familiar Cons: Downtime possible, rollback harder
Strategy 3: Rolling (Managed Services)
Pros: Automatic, zero downtime Cons: Less control, depends on managed service
Real Cluster Upgrade Workflow
Common Issues During Upgrade
Issue 1: API Version Not Found
Issue 2: Pod Stuck Pending
Issue 3: Control Plane Won't Start
Downgrade (If Needed)
Summary
Kubernetes upgrades:
Versioning:
- Quarterly minor releases (v1.25, v1.26, v1.27)
- Support window ~1 year
- Always stay within supported versions
Strategies:
- Blue-green: low risk, expensive
- In-place: traditional, single cluster
- Rolling: managed services, automatic
Process:
- Plan and test first
- Backup everything
- Execute during maintenance
- Monitor closely
Best Practice:
- Upgrade within 1 year
- Upgrade incrementally (skip ≤2 minor versions)
- Always have rollback plan
Next: File 02 covers control plane upgrades.