19.06.2021 Views

148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Chapter 16 ■ Developing a Highly Available Website

The AWS CloudFormations for the Kubernetes clusters have launch configurations and scaling groups

associated with them. If a controller instance is shut down directly, at first the controller and worker

instances would shut down; but because a launch configuration is associated with the CloudFormation,

other controller and worker instances for the CloudFormation are started. If the CloudFormation is

removed, the cluster is removed and is not relaunched. If both the primary and secondary resource record

sets are made unavailable, the Kubernetes service hosted on oramagsearch.com becomes unavailable, as

shown in Figure 16-57.

Figure 16-57. The hosted zone becomes unreachable if all resource record sets are deleted

Summary

In this chapter we created a highly available website. The high availability is made feasible by creating

multiple cloud formations and subsequently creating an AWS Route 53 service with DNS failover configured.

This chapter concludes the book Kubernetes Management Design Patterns. As subsequent Kubernetes

versions are developed, other features will be added. At the time of writing this book, Kubernetes 1.3 has

added cross-cluster federation, which can be used to develop federated services that span multiple clusters,

thus providing another form of high availability.

392

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!