Container orchestration ทำหน้าที่ทำให้การ deploy การ scale การจัดการเครือข่าย และการบริหารจัดการ container ทั่วทั้งเครื่องจำนวนมากเป็นไปโดยอัตโนมัติ เมื่อแอปพลิเคชันเติบโตจนมี container จำนวนมากกระจายอยู่บนหลาย host การจัดการด้วยมือจะกลายเป็นเรื่องที่ไม่สามารถทำได้จริง — เครื่องมือ orchestrator อย่าง Kubernetes จะเข้ามาจัดการแทน การเข้าใจถึงความจำเป็นนี้เป็นเรื่องสำคัญสำหรับการ scale แอปพลิเคชันแบบ container
ปัญหา: การจัดการ container ในระดับ scale
Running a few containers on one host is manageable. But in production at scale:
→ MANY containers across MANY hosts (dozens/hundreds of services and instances)
→ containers crash → need to restart automatically
→ load increases → need to scale up (more instances) / scale down
→ deployments → roll out new versions without downtime; roll back on failure
→ distribute containers across hosts; route traffic; service discovery
→ Doing all this MANUALLY is impractical and error-prone. → ORCHESTRATION automates it.
