Skip to content

narenarjun/go-grpc-k8s-serverless

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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