Skip to content

How to call one BE scala service from another via GRPC with requiring an HTTP/2 compliant proxy

Notifications You must be signed in to change notification settings

gengstrand/akka-grpc-quickstart-scala-k8s

Repository files navigation

Hello World GRPC

This repo demonstrates how to run a bi-directional streaming GRPC session between two backend Scala services in Kubernetes.

I got the actual code from this tutorial which some slight modifications.

the server

sbt compile
sbt stage
docker build -t grpc-server:1.0 .
# tag and push the image appropriately
# edit the manifest to match what was pushed
kubectl create -f grpc-server.yaml
# wait a while because this takes a long time to load

the client

docker build --file Dockerfile.client -t grpc-client:1.0 .
# tag and push the image appropriately
# edit the manifest to match what was pushed
kubectl create -f grpc-client.yaml

About

How to call one BE scala service from another via GRPC with requiring an HTTP/2 compliant proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published