January 2018
Intermediate to advanced
318 pages
7h 6m
English
As we did with Azure, there is no need to provide a configuration file this time, so we simply need to run the following commands:
$ kubectl create namespace sock-shop$ kubectl apply -n sock-shop -f "https://github.com/microservices-demo/microservices-demo/blob/master/deploy/kubernetes/complete-demo.yaml?raw=true"$ kubectl -n sock-shop get pods$ kubectl -n sock-shop expose deployment front-end --type=LoadBalancer --name=front-end-lb$ kubectl -n sock-shop get services front-end-lb$ kubectl -n sock-shop describe services front-end-lb
As you can see from the following screenshot, the IP and port give me a URL of http://104.155.191.39:8079:
Also, in the Google Cloud web interface, clicking on Discovery & load balancing should also ...
Read now
Unlock full access