19.06.2021 Views

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 7 ■ Using Services

The service is invoked at the cluster-internal cluster-ip for all types of Kubernetes services, as shown

in Figure 7-22.

Figure 7-22. Invoking a service at cluster-IP

Obtain the external IP, the LoadBalancer Ingress, at which the service is exposed with the following

command:

./kubectl describe services hello-world | grep "LoadBalancer Ingress"

The LoadBalancer Ingress is listed as shown in Figure 7-23.

Figure 7-23. Obtaining the LoadBalancer Ingress

The LoadBalancer Ingress may also be obtained from the service description, as shown in Figure 7-24.

167

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

Saved successfully!

Ooh no, something went wrong!