This is a simple example of an inter-service call.
greeting-service
will call the /hello
interface of hello-service
and return the result of the call to the user interface.
- Installed Kubernetes cluster
- Initialising Dapr on Kubernetes
- Helm
cd greeting-service
docker build -t limbo/greeting-service:latest .
helm install greeting-service greeting-service
cd ../greeting-service
docker build -t limbo/hello-service:latest .
helm install hello-service hello-service
kubectl get pods -A -w
Waiting for Pod to be inRunning
statecurl http://localhost:8080/greet
and you will seeHello!