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 14 ■ Configuring Logging

Describe the service to obtain the service endpoint, which is 10.2.15.4:5601, as shown in Figure 14-24.

Figure 14-24. Describing the Kibana logging service

To access Kibana Dashboard from a web browser set port forwarding from a local machine. First, we

need to copy the key-pair for the CoreOS Kubernetes controller instance to be able to SSH into the controller

instance to set port forwarding:

scp -i docker.pem ec2-user@ec2-54-208-177-36.compute-1.amazonaws.com:~/kubernetes-coreos.pem

~/kubernetes-coreos.pem

ssh -i kubernetes-coreos.pem -f -nNT -L 5601:10.2.15.4:5601:5601 core@ec2-52-207-33-106.

compute-1.amazonaws.com

Port forwarding is set.

Access the Kibana Dashboard from a browser on the local machine with the URL http://localhost:5601.

The Kibana Dashboard is started, as shown in Figure 14-25.

Figure 14-25. Kibana Dashboard

328

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

Saved successfully!

Ooh no, something went wrong!