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 6 ■ Using Volumes

Obtain the Kubernetes clusters’ controller’s public IP and add an A record for it to the public DNS for

which the CloudFormation is created, as shown in Figure 6-3.

Figure 6-3. Adding an A record for the domain

SSH log in in to the controller instance using the public IP:

ssh -i "kubernetes-coreos.pem" core@52.1.116.171

Install kubectl binaries and list the nodes in the cluster:

./kubectl get nodes

The single controller node and the three worker nodes are listed as shown in Figure 6-4.

Figure 6-4. Listing running nodes

138

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

Saved successfully!

Ooh no, something went wrong!