22
33# Skupper Online Boutique
44
5- [ ![ main] ( https://github.com/pwright /skupper-example-grpc/actions/workflows/main.yaml/badge.svg )] ( https://github.com/pwright /skupper-example-grpc/actions/workflows/main.yaml )
5+ [ ![ main] ( https://github.com/AryanP123 /skupper-example-grpc.git /actions/workflows/main.yaml/badge.svg )] ( https://github.com/AryanP123 /skupper-example-grpc.git /actions/workflows/main.yaml )
66
77#### A Cloud-Native gRPC microservice-based application deployed across multiple Kubernetes clusters using Skupper
88
@@ -23,6 +23,10 @@ across cloud providers, data centers, and edge sites.
2323* [ Step 4: Wait for Sites Ready] ( #step-4-wait-for-sites-ready )
2424* [ Step 5: Install the Skupper command-line tool] ( #step-5-install-the-skupper-command-line-tool )
2525* [ Step 6: Link your sites] ( #step-6-link-your-sites )
26+ * [ Step 7: Access the Boutique Shop application] ( #step-7-access-the-boutique-shop-application )
27+ * [ Step 8: Run the load generator] ( #step-8-run-the-load-generator )
28+ * [ Step 9: Observe the load generator output] ( #step-9-observe-the-load-generator-output )
29+ * [ Step 10: Stop the load generator] ( #step-10-stop-the-load-generator )
2630* [ Cleaning up] ( #cleaning-up )
2731* [ Summary] ( #summary )
2832* [ Next steps] ( #next-steps )
@@ -289,6 +293,57 @@ to use `scp` or a similar tool to transfer the token securely. By
289293default, tokens expire after a single use or 15 minutes after
290294being issued.
291295
296+ ## Step 7: Access the Boutique Shop application
297+
298+ The web frontend for the Online Boutique application can be accessed
299+ via the frontend-external service. In the terminal for the ** gRPC A**
300+ cluster, get the shop URL and open it in a browser.
301+
302+ _ ** gRPC A:** _
303+
304+ ~~~ shell
305+ echo " http://$( kubectl get service frontend-external -n grpc-a -o=jsonpath=' {.spec.clusterIP}' ) /"
306+ ~~~
307+
308+ Open a browser and use the URL provided above to access the Online
309+ Boutique.
310+
311+ ## Step 8: Run the load generator
312+
313+ The Online Boutique application has a load generator that creates
314+ realistic usage patterns on the website.
315+
316+ In the terminal for the ** gRPC A** cluster, deploy the load
317+ generator from the project root directory.
318+
319+ _ ** gRPC A:** _
320+
321+ ~~~ shell
322+ kubectl apply -f deployment-loadgenerator.yaml -n grpc-a
323+ ~~~
324+
325+ ## Step 9: Observe the load generator output
326+
327+ In the terminal for the ** gRPC A** cluster, observe the output
328+ from the load generator.
329+
330+ _ ** gRPC A:** _
331+
332+ ~~~ shell
333+ kubectl logs -f deploy/loadgenerator -n grpc-a
334+ ~~~
335+
336+ ## Step 10: Stop the load generator
337+
338+ In the terminal for the ** gRPC A** cluster, stop the load
339+ generator.
340+
341+ _ ** gRPC A:** _
342+
343+ ~~~ shell
344+ kubectl delete -f deployment-loadgenerator.yaml -n grpc-a
345+ ~~~
346+
292347## Cleaning up
293348
294349To remove Skupper and the other resources from this exercise, use
@@ -297,6 +352,7 @@ the following commands.
297352_ ** gRPC A:** _
298353
299354~~~ shell
355+ kubectl delete -f deployment-loadgenerator.yaml -n grpc-a --ignore-not-found
300356kubectl delete -f resources-a
301357~~~
302358
0 commit comments