Skip to content

Commit f2e3093

Browse files
committed
don't use localhost anymore to access the frontend website
1 parent dedccef commit f2e3093

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/versioned/bookstore/page-5/deploy-database-service.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,8 +79,9 @@ kubectl apply -f db-service
7979

8080
![image3](images/image3.png)
8181

82+
Get the IP address of the front end service as follows: `kubectl get svc -o=jsonpath='{.status.loadBalancer.ingress[0].ip}' bookstore-frontend-svc`
8283

83-
Open the UI page at [http://localhost:3000](http://localhost:3000){:target="_blank"}, you should see some new comments popping up at the bottom of the page.
84+
Open the UI page at `http://${IP}`, you should see some new comments popping up at the bottom of the page.
8485

8586
???+ bug "Troubleshoot"
8687
If you see "No comments available", that means your database is not initialized yet. Check the health of the database service pods and figure out what happened.

0 commit comments

Comments
 (0)