March 2018
Intermediate to advanced
310 pages
7h 10m
English
When the new service is created, its coordinates are written into environment variables in every pod in the cluster.
Let's log in to one of the pods inside the cluster and take a look at it. All the OpenShift environment variable names are written in uppercase, and we need the data about the pricing service:

In the preceding screenshot, note that there are a number of variables describing the coordinates of the service. The property that interests us is the host address:
PRICING_SERVICE_SERVICE_HOST=172.30.104.212
Note that this is the virtual cluster IP again. As a result, as long as the service is not removed, the ...
Read now
Unlock full access