19.06.2021 Views

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 1 ■ Kubernetes on AWS

After all instances have been deleted, the elastic IP is released, and eventually the security groups and

VPC are deleted as shown in Figure 1-31.

Figure 1-31. Deleting instances, volumes, security groups, and VPC

Subsequently, the cluster may be restarted if required.

/home/ec2-user/kubernetes/cluster/kube-up.sh

Summary

In this chapter we discussed installing Kubernetes on AWS. The Amazon Linux AMI must be used as it

has the AWS CLI preinstalled. Too many VPCs must not be created prior to creating a Kubernetes cluster,

as a new VPC is created when the cluster is created and having too many prior VPCs could make the VPC

quota allocated to a user account to be exceeded. We spun up a Kubernetes cluster consisting of a single

master and three minions. In the next chapter we shall install Kubernetes on CoreOS, the Linux OS designed

specifically for containers.

22

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

Saved successfully!

Ooh no, something went wrong!