1 Kubernetes for application deployment


This chapter covers

  • The benefits of packaging applications in containers
  • What makes Kubernetes an ideal platform to deploy containers with
  • Deciding when to use Kubernetes

It’s 5 pm on a Friday, and the product you’ve been working on for the last year just went viral. You need to scale everything—and fast. Is your application and the platform it runs on capable of scaling 100×, ready to capture your success, or are you stuck with brittle code and an inflexible platform, meaning all your work will be for naught?

You built an amazing stateless application on a popular application platform capable of scaling rapidly, and everything is working great. Until one day, your business requirements shift, and suddenly you need to run a bespoke stateful application for some critical business data or configure a nightly batch processing pipeline. Will these new workloads fit in seamlessly with your existing ones, or will you need to start over from scratch or patch together multiple disparate systems?

1.1 Why containers?

1.1.1 Container benefits

1.2 Why Kubernetes?

1.2.1 Composable building blocks

1.2.2 Features and benefits

1.2.3 Kubernetes vs. platforms as a service

1.2.4 When (not) to use Kubernetes