コンテナオーケストレーションは、多くのマシン上でコンテナのデプロイ、スケーリング、ネットワーキング、および管理を自動化します。アプリケーションが複数のホスト上の多くのコンテナに成長するにつれて、手動管理は実用的でなくなります。Kubernetesなどのオーケストレーターがこれを処理します。その必要性を理解することは、コンテナ化されたアプリケーションをスケーリングする上で重要です。
スケールでのコンテナ管理の問題
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.
