Book Image

Kubernetes on AWS

By : Ed Robinson
Book Image

Kubernetes on AWS

By: Ed Robinson

Overview of this book

Docker containers promise to radicalize the way developers and operations build, deploy, and manage applications running on the cloud. Kubernetes provides the orchestration tools you need to realize that promise in production. Kubernetes on AWS guides you in deploying a production-ready Kubernetes cluster on the AWS platform. You will then discover how to utilize the power of Kubernetes, which is one of the fastest growing platforms for production-based container orchestration, to manage and update your applications. Kubernetes is becoming the go-to choice for production-grade deployments of cloud-native applications. This book covers Kubernetes from first principles. You will start by learning about Kubernetes' powerful abstractions - Pods and Services - that make managing container deployments easy. This will be followed by a guided tour through setting up a production-ready Kubernetes cluster on AWS, while learning the techniques you need to successfully deploy and manage your own applications. By the end of the book, you will have gained plenty of hands-on experience with Kubernetes on Amazon Web Services. You will also have picked up some tips on deploying and managing applications, keeping your cluster and applications secure, and ensuring that your whole system is reliable and resilient to failure.
Table of Contents (12 chapters)

Summary

In this chapter, we have learned how to use Kubernetes to run our applications and, importantly, how to roll out new versions of our applications and their configurations.

We built on our basic knowledge of pods and deployments from the previous chapters:

  • Pods are the lowest-level abstraction that Kubernetes provides us
  • All the other resources that deal with running containers, such as jobs, ScheduledJobs, deployments, and even DaemonSet, work by creating pods in specific ways.
  • Normally, we don't want to create pods directly because if the node a pod is running on stops working, then so will the pod. Using one of the higher-level controllers ensures that a new pod will be created to replace failed pods.
  • The higher-level resources, such as deployments and DaemonSet, provide a mechanism to replace one version of a pod with a different one in a controlled way. We learned...