148422597X Kubernetes Management Design Patterns [Vohra 2017-01-29] {E559F6BB}
Chapter 2 ■ Kubernetes on CoreOS on AWSFigure 2-26. Setting port forwardingInvoke the service endpoint on the local machine browser to display the nginx application output asshown in Figure 2-27.Figure 2-27. Invoking the service in a browser46
Chapter 2 ■ Kubernetes on CoreOS on AWSExit the controller instance as shown in Figure 2-28.Figure 2-28. Exiting CoreOS instanceSummaryIn this chapter we launched an AWS CloudFormation stack for a Kubernetes cluster on CoreOS instances.The procedure we followed was this: First, install kube-aws. Next, set up the cluster parameters, such ascreating a KMS key and setting up an external DNS name. To create the cluster CloudFormation, create anasset directory, initialize the cluster CloudFormation, render contents of the asset directory, customize thecluster, validate the cluster and launch the cluster. After the cluster has been launched, access the clusterand create an nginx application pod cluster.In the next chapter we will install Kubernetes on the Google Cloud platform.47
- Page 13 and 14: ■ CONTENTSInstalling OpenShift
- Page 15 and 16: About the Technical ReviewerMassimo
- Page 17 and 18: ■ INTRODUCTIONpatterns are lan
- Page 19 and 20: ■ INTRODUCTIONIn Chapter 3 we
- Page 21 and 22: CHAPTER 1Kubernetes on AWSKubernete
- Page 23 and 24: Chapter 1 ■ Kubernetes on AWSIn t
- Page 25 and 26: Chapter 1 ■ Kubernetes on AWSUsin
- Page 27 and 28: Chapter 1 ■ Kubernetes on AWSClic
- Page 29 and 30: Chapter 1 ■ Kubernetes on AWSFigu
- Page 31 and 32: Chapter 1 ■ Kubernetes on AWSFigu
- Page 33 and 34: Chapter 1 ■ Kubernetes on AWSFigu
- Page 35 and 36: Testing the ClusterChapter 1 ■ Ku
- Page 37 and 38: Chapter 1 ■ Kubernetes on AWSFigu
- Page 39 and 40: Chapter 1 ■ Kubernetes on AWSFigu
- Page 41 and 42: CHAPTER 2Kubernetes on CoreOS on AW
- Page 43 and 44: Chapter 2 ■ Kubernetes on CoreOS
- Page 45 and 46: Chapter 2 ■ Kubernetes on CoreOS
- Page 47 and 48: Chapter 2 ■ Kubernetes on CoreOS
- Page 49 and 50: Customizing the ClusterChapter 2
- Page 51 and 52: Chapter 2 ■ Kubernetes on CoreOS
- Page 53 and 54: Chapter 2 ■ Kubernetes on CoreOS
- Page 55 and 56: Chapter 2 ■ Kubernetes on CoreOS
- Page 57 and 58: Chapter 2 ■ Kubernetes on CoreOS
- Page 59 and 60: Chapter 2 ■ Kubernetes on CoreOS
- Page 61 and 62: Chapter 2 ■ Kubernetes on CoreOS
- Page 63: Chapter 2 ■ Kubernetes on CoreOS
- Page 67 and 68: Chapter 3 ■ Kubernetes on Google
- Page 69 and 70: Chapter 3 ■ Kubernetes on Google
- Page 71 and 72: Chapter 3 ■ Kubernetes on Google
- Page 73 and 74: Chapter 3 ■ Kubernetes on Google
- Page 75 and 76: Chapter 3 ■ Kubernetes on Google
- Page 77 and 78: Chapter 3 ■ Kubernetes on Google
- Page 79 and 80: Chapter 3 ■ Kubernetes on Google
- Page 81 and 82: Chapter 3 ■ Kubernetes on Google
- Page 83 and 84: Chapter 3 ■ Kubernetes on Google
- Page 85 and 86: Chapter 3 ■ Kubernetes on Google
- Page 87 and 88: Chapter 3 ■ Kubernetes on Google
- Page 89 and 90: Chapter 3 ■ Kubernetes on Google
- Page 91 and 92: Chapter 3 ■ Kubernetes on Google
- Page 93 and 94: Chapter 3 ■ Kubernetes on Google
- Page 95 and 96: Chapter 3 ■ Kubernetes on Google
- Page 97 and 98: Chapter 3 ■ Kubernetes on Google
- Page 99 and 100: Chapter 3 ■ Kubernetes on Google
- Page 101 and 102: Chapter 3 ■ Kubernetes on Google
- Page 103 and 104: Chapter 3 ■ Kubernetes on Google
- Page 105 and 106: PART IIAdministration andConfigurat
- Page 107 and 108: Chapter 4 ■ Using Multiple ZonesS
- Page 109 and 110: Chapter 4 ■ Using Multiple ZonesF
- Page 111 and 112: Chapter 4 ■ Using Multiple ZonesF
- Page 113 and 114: Chapter 4 ■ Using Multiple ZonesA
Chapter 2 ■ Kubernetes on CoreOS on AWS
Exit the controller instance as shown in Figure 2-28.
Figure 2-28. Exiting CoreOS instance
Summary
In this chapter we launched an AWS CloudFormation stack for a Kubernetes cluster on CoreOS instances.
The procedure we followed was this: First, install kube-aws. Next, set up the cluster parameters, such as
creating a KMS key and setting up an external DNS name. To create the cluster CloudFormation, create an
asset directory, initialize the cluster CloudFormation, render contents of the asset directory, customize the
cluster, validate the cluster and launch the cluster. After the cluster has been launched, access the cluster
and create an nginx application pod cluster.
In the next chapter we will install Kubernetes on the Google Cloud platform.
47