Skip to content

Latest commit

 

History

History
54 lines (28 loc) · 1.66 KB

README.md

File metadata and controls

54 lines (28 loc) · 1.66 KB

Golang GRPC blog server on deployed kubernetes made serverless with Knative

The kubernetes deployment files are in the ./kubernetes/server-deployment folder.

To create a client for this server, we can use this proto file : ./blog-server/blogpb/blog.proto.

The grpc server is deployed on the civo k3s kubernetes platform. Here is the server url: http://grpc-blog-server.grpc-blog.e20b4706-9ba3-4496-a857-b8b531dd5a38.k8s.civo.com

✨ Note 📚 :

GRPC uses http/2 layer and we need to use grpc specific tools to query and interact with grpc endpoints. Such a GRPC specific tools are evan ClI (https://github.com/ktr0731/evans), grpcurl (https://github.com/fullstorydev/grpcurl).

✨✨ Container Image:

The app is containerized and hosted in the Quay Container registry.

The app is built by multistage build to reduce the final image size.

To get the image:

with docker:

docker pull quay.io/narendev/blogserver

with podman:

podman pull quay.io/narendev/blogserver