9 Deployment with containers and schedulers

This chapter covers

  • Using containers to package a microservice into a deployable artifact
  • How to run a microservice on Kubernetes, a container scheduler
  • Core Kubernetes concepts, including pods, services, and replica sets
  • Performing canary deployments and rollbacks on Kubernetes

Containers are an elegant abstraction for deploying and running microservices, offering consistent cross-language packaging, application-level isolation, and rapid startup time.

In turn, container schedulers provide a higher level deployment platform for containers by orchestrating and managing the execution of different workloads across a pool of underlying infrastructure resources. Schedulers also provide (or tightly ...

Get Microservices in Action now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.