write a microservice project, and deploy services to k8s.
Router Tree
localhost:8000!
├──[GET] -> gateway::hello
└──echo
└──[POST] -> gateway::echo
Test
curl -X GET localhost:8000
// Hello, this a echo microservice project.
curl -X POST -d 'message=ABC' localhost:8000/echo
// Hello ABC from gateway from service 2!
// This message is forwarded from service 1!
- clean unused crate
- microservice code
- docker build
- docker compose
- k8s environment
- deploying microservice in k8s
- CI/CD
- write doc
- Cargo-chef pre-build binary is build in amd64, and is not compile with apple silicon machine.