Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
feat: deploy shopping example as a Kubernetes cluster #268
This PR represents an experiment to decompose the shopping app into multiple microservices, each of which is packaged as a docker image. It's possible to communicate between microservices usign REST and/or gRPC.
See https://github.com/strongloop/loopback4-example-shopping/blob/microservices/kubernetes/create-k8s.sh for instructions to get the application up and running with minikube.
Great initiative, @raymondfeng.
At this point, we expose both REST and gRPC endpoints from the recommender. gRPC does allow extensions to add http mappings. And there are some gateways to support REST requests:
- make datasources aware of kubernetes deployment - detect k8s and use environment variables to set up datasources - enable lifecycle support for datasources Signed-off-by: Raymond Feng <email@example.com>