kubernetes-demo
Kubernetes demo for Moleculer microservices framework
For testing & prototyping install a Kubernetes cluster locally with Minikube.
Monolith mode
In this case all services execute in one Pod without transporter.
kubectl apply -f monolith.yaml
In browser open the http://192.168.99.100:30000 URL.
Microservices mode
In this case all services execute in separated and scaled Pods with NATS transporter.
kubectl apply -f micro.yaml
In browser open the http://192.168.99.100 URL.
CLI connection
To connect to the deployed app install moleculer-cli
& nats
globally with npm i -g moleculer-cli nats
command.
moleculer connect nats://192.168.99.100:32222
License
Moleculer is available under the MIT license.
Contact
Copyright (c) 2016-2019 MoleculerJS