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 7 ■ Using Services

List the services, and the hello-world service is displayed. In addition to a cluster-ip, an externalip

<nodes> is listed, as shown in Figure 7-11. Unlike the cluster-ip, the <nodes> ip is not a literal IP and

indicates that the service is exposed at each of the nodes in the cluster.

Figure 7-11. Listing the NodePort-type service

Access the service at the cluster-ip as for a service of type ClusterIP, and the HTML markup is

displayed as shown in Figure 7-12.

Figure 7-12. Invoking a service at Cluster-IP

160

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

Saved successfully!

Ooh no, something went wrong!