Kubernetes
Practical
By Samson Tanimawo, PhD
Published Mar 15, 2026
4 min read
Pod Anti-Affinity for HA
Spread pods across nodes/zones. The pattern.
Live workflow · 3 working · 1 queuedLive
Signal · gather Working
Decide · pick action Working
Apply · with verify Working
Learn · update playbook Queued
Idea
Pods of the same service should not co-locate.
One node down ≠ all pods down.
Setup
podAntiAffinity with hostname or zone topology key.
Hard or soft requirement.
Limits
Hard anti-affinity can prevent scheduling.
Soft is more flexible; usually correct.