Skip to content

Commit

Permalink
microservices: add hands on script.result.1
Browse files Browse the repository at this point in the history
  • Loading branch information
tungbq committed May 11, 2024
1 parent 9e7ef71 commit 280e47b
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ We cover a wide range of DevOps topics in our content library, explore them unde
<td>Microservices</td>
<td><a href="./topics/microservices/">microservices</a></td>
<td>📖 <a href="https://aws.amazon.com/microservices/">aws/microservices</a></td>
<td>⏩ coming-soon</td>
<td>✔️ <a href="./topics/microservices/basic/">basic demo</a></td>
</tr>
<tr>
<td><img width="32" src="https://www.datocms-assets.com/58478/1638283616-packer.svg"></td>
Expand Down
16 changes: 14 additions & 2 deletions topics/microservices/basic/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

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
```
5 changes: 5 additions & 0 deletions topics/microservices/basic/cleanup-hello-microservices.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/bash

NAME_SPACE="demo-app"

kubectl delete namespace $NAME_SPACE

0 comments on commit 280e47b

Please sign in to comment.