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

marco.cirilli
from marco.cirilli More from this publisher
19.06.2021 Views

Chapter 2 ■ Kubernetes on CoreOS on AWSClick on Save Changes to save the modifications to the A record as shown in Figure 2-16.Figure 2-16. Saving changes to the A recordThe A record should list the Points To as the public IP address of the controller instance as shown inFigure 2-17.38

Chapter 2 ■ Kubernetes on CoreOS on AWSFigure 2-17. The updated A recordAccessing the ClusterDownload the kubectl binaries, which are used to manage the Kubernetes cluster. Set access permissions tothe kubectl binaries to make them executable, and move the kubectl binaries to /usr/local/bin, which isin the path:sudo wget https://storage.googleapis.com/kubernetes-release/release/v1.3.0/bin/linux/amd64/kubectlsudo chmod +x kubectlsudo mv kubectl /usr/local/bin/Using the kubectl config file access the cluster to list the nodes. The one controller node and the threeworker nodes should be listed as shown in Figure 2-18. The controller node is not schedulable by default,which implies that pods cannot be run on the node.Figure 2-18. Listing the Kubernetes cluster nodes39

Chapter 2 ■ Kubernetes on CoreOS on AWS

Click on Save Changes to save the modifications to the A record as shown in Figure 2-16.

Figure 2-16. Saving changes to the A record

The A record should list the Points To as the public IP address of the controller instance as shown in

Figure 2-17.

38

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

Saved successfully!

Ooh no, something went wrong!