kubectl get svconce more.
./deployment/goof-service.yamlwe defined this as our
frontendapp with type
LoadBalancerlistening on the standard
GOOF_HOSTand pass the value of
EXTERNAL-IPfor our goof service in one command.
echo $GOOF_HOSTon the terminal command-line and see the results. We should see the a return value that matches our
EXTERNAL-IP. Next, we are going to perform a simple test to see if our application is serving requests. For this, we will run a simple
curlcommand and browse
./public/about.html. Your results should look similar to the following:
LoadBalanceras shown below: