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 2 ■ Kubernetes on CoreOS on AWS

Figure 2-17. The updated A record

Accessing the Cluster

Download the kubectl binaries, which are used to manage the Kubernetes cluster. Set access permissions to

the kubectl binaries to make them executable, and move the kubectl binaries to /usr/local/bin, which is

in the path:

sudo wget https://storage.googleapis.com/kubernetes-release/release/v1.3.0/bin/linux/amd64/

kubectl

sudo chmod +x kubectl

sudo mv kubectl /usr/local/bin/

Using the kubectl config file access the cluster to list the nodes. The one controller node and the three

worker 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 nodes

39

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

Saved successfully!

Ooh no, something went wrong!