Skip to content
StackDecode
System Design
11. Microservices ArchitectureAnimated

Microservice Deployment

Shipping services independently.

The idea

Containers, CI/CD and orchestrators allow frequent safe releases.

Watch it work

Press play, pause, or step through. Some animations have settings you can change.

kubectlAPI serveretcdSchedulerNode 1 (pods)Node 2 (pods)
  • client
  • gateway / proxy
  • service
  • cache
  • data store
  • queue / stream

You declare the desired state (3 replicas).

step:
1/4
at:
kubectl
1/9

The green dot is a request moving through the system.

Step by step

  1. 1Build an image
  2. 2Run tests
  3. 3Deploy with rolling or canary strategies
  4. 4Monitor and roll back

Where it is used

Delivering changes.

Watch out for

Version compatibility between services.

Related