January 2018
Intermediate to advanced
318 pages
7h 6m
English
Now we have all of the pods deployed, we can start interacting with our deployment. To start with, we need to find out the external IP address of the NGINX pod. You can find information about the pod by running the following:
$ kubectl -n openwhisk describe service nginx
This is the output:

As you can see, while the ports are exposed they are only exposed on the nodes themselves. As the nodes are on private addresses, we will not be able to access them from our local client. To expose the ports externally we need to create a load-balanced service, to do this run the following command:
$ kubectl -n openwhisk expose service ...
Read now
Unlock full access