Add LoadBalancer to front end to expose it

This will make the web service easily accessible on most platforms. On minikube it is possible to run

    minikube service -n robot-shop web

to open a browser window pointing to the frontend of the shop.
This commit is contained in:
Will James
2019-05-19 14:08:59 +02:00
parent 9485d7fc23
commit 44f572ebba

View File

@@ -11,3 +11,4 @@ spec:
targetPort: 8080
selector:
service: web
type: LoadBalancer