Cloud & Infrastructure

Container Orchestration

Advanced

Once you run containers at scale, something has to schedule them, restart failed ones, scale them with load, roll out new versions, and set up networking and secrets. That is orchestration (Kubernetes, Azure Container Apps, and similar tools). It is powerful and complex. The goal is to use its safety features (health, limits, secrets, least privilege) and not let its flexibility make you insecure.

Orchestrators turn a single container into a resilient, scalable service. They keep the wanted number of healthy instances running, replace unhealthy ones, roll out updates gradually, and manage configuration, secrets, and networking. The trade-off is a large surface area with many defaults that are not secure. So the discipline is to configure the safety nets on purpose and apply least privilege to workloads.

This builds on Containers & Images (the artifact), Infrastructure as Code (define it in code), and Designing for Failure and Cost & Scale (resilience and bounded scaling). Prefer the simplest platform that meets the need. Choose managed options over self-run clusters where you can.

Run workloads resiliently

Secure the platform

Self-review checklist

Why it matters: Orchestration gives us resilience and scale, but its complexity and permissive defaults make it a large attack and failure surface. Over-privileged workloads, baked-in secrets, flat networks, and hand-made changes are common, serious mistakes. Using its safety features and applying least privilege turns the platform into a dependable, secure foundation rather than a large risk.