diff --git a/README.md b/README.md index d8412e3..31b270c 100755 --- a/README.md +++ b/README.md @@ -205,7 +205,7 @@ We cover a wide range of DevOps topics in our content library, explore them unde Microservices microservices 📖 aws/microservices - ⏩ coming-soon + ✔️ basic demo diff --git a/topics/microservices/basic/README.md b/topics/microservices/basic/README.md index e1c9662..43bc09a 100644 --- a/topics/microservices/basic/README.md +++ b/topics/microservices/basic/README.md @@ -19,6 +19,18 @@ Run: ./hello-microservices.sh ``` +This will deploy the application then forward the service to port `8080` (or you could adjust to another port works with you machine) + ## 3. Check the result -Visit localhost:8080, you should get the similar result like this -![first-demo-microservices-result](../assets/first-demo-microservices-result.png) \ No newline at end of file + +Visit localhost:8080, you should get the similar result like this: + +![first-demo-microservices-result](../assets/first-demo-microservices-result.png) + +## 4. Cleanup + +Run: + +```bash +./cleanup-hello-microservices.sh +``` diff --git a/topics/microservices/basic/cleanup-hello-microservices.sh b/topics/microservices/basic/cleanup-hello-microservices.sh new file mode 100755 index 0000000..fe56110 --- /dev/null +++ b/topics/microservices/basic/cleanup-hello-microservices.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +NAME_SPACE="demo-app" + +kubectl delete namespace $NAME_SPACE