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

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

Chapter 7 ■ Using ServicesFigure 7-16. Invoking the service at the master nodeTo invoke the service in a web browser, we don’t need to set port forwarding. Obtain the public DNSname of the node at which to invoke the service as shown in Figure 7-17.Figure 7-17. Obtaining the public DNS163

Chapter 7 ■ Using ServicesInvoke the service in a web browser at URL http://public-dns:32624 as shown in Figure 7-18.Figure 7-18. Invoking the service in a browserSimilarly, obtain the public-dns for another worker node. Invoke the service athttp://public-dns:node-port for the node as shown in Figure 7-19.164

Chapter 7 ■ Using Services

Figure 7-16. Invoking the service at the master node

To invoke the service in a web browser, we don’t need to set port forwarding. Obtain the public DNS

name of the node at which to invoke the service as shown in Figure 7-17.

Figure 7-17. Obtaining the public DNS

163

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

Saved successfully!

Ooh no, something went wrong!