Deployment
You can deploy an Akka gRPC application just like you would any other JVM-based project. For some general pointers on this topic, see the deployment section of the Akka documentation.
Remember that the cleartext HTTP/2 “h2c with prior knowledge” protocol is not compatible with HTTP/1.1, so if your infrastructure uses any proxies they must either understand this protocol or support generic TCP connections.
Serve gRPC over HTTPS
To deploy your gRPC service over a HTTPS connection you will have to use an HttpsConnectionContext
HttpsConnectionContext
as described in the Akka-HTTP documentation.
Example: Kubernetes
As an example, here is a complete project consisting of two applications (a gRPC service and an HTTP service that consumes the gRPC service) that can be deployed together in Kubernetes.