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

In the past, developers would choose between ease of managing deployments, and the customizability of their environment. If you wanted a self-driving automated platform with easy scaling, you could choose a Platform as a Service (PaaS) like Heroku or AppEngine, enabling easy deployments, but limiting what you could do, such as which languages or libraries could be used. Conversely, you could fully customize your application environment and run whatever you wanted if your target was a raw Linux or Windows box, but then management and scaling was complex.

Enter Containers and Kubernetes. Containers allow you to package up your application and its dependencies into a lightweight package that can be run mostly independently of the host operating system, and Kubernetes helps you manage all those containers, to keep them running and scale as needed, without you needing to manage each minute detail of the underlying hosts.

This combination has proved incredibly powerful, and gained a loyal following among developers looking to gain the most flexibility to deploy whatever software they like, while keeping operations as simple as possible.

1.1 Containers: The Ideal Application Package

 

1.1.1 Language flexibility

 
 

1.1.2 Isolation Without Overhead

 
 
 

1.1.3 Developer Efficiency

 
 

1.1.4 Reproducibility

 
 
 

1.2 Running Containers on Kubernetes

 
 
 
 

1.2.1 Kubernetes Architecture: Life of a Container

 
 
 

1.3 Benefits of using Kubernetes

 
 

1.3.1 Automated Operations

 
 
 

1.3.2 A Workload Abstraction

 
 

1.3.3 The Ability to Scale Up

 
 

1.3.4 Cost Efficient Deployments

 

1.3.5 Extensibility

 
 

1.3.6 Open Source

 
 

1.3.7 Customized Workflows

 
 
 
 

1.4 Deciding when to use Kubernetes

 

1.4.1 Running a Stateful Database

 
 

1.4.2 Functions as a Service

 

1.4.3 Pure Stateless Applications

 
 
 

1.5 Summary

 
sitemap

Unable to load book!

The book could not be loaded.

(try again in a couple of minutes)

manning.com homepage
test yourself with a liveTest