Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/narenarjun/go-grpc-k8s-serverless
Golang GRPC blog server on deployed kubernetes made serverless with Knative
https://github.com/narenarjun/go-grpc-k8s-serverless
civo-k3s golang grpc knative-serving kubernetes mongodb
Last synced: 2 days ago
JSON representation
Golang GRPC blog server on deployed kubernetes made serverless with Knative
- Host: GitHub
- URL: https://github.com/narenarjun/go-grpc-k8s-serverless
- Owner: narenarjun
- License: mit
- Created: 2021-04-04T12:31:15.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2021-04-24T21:48:44.000Z (over 3 years ago)
- Last Synced: 2024-08-01T21:54:58.517Z (3 months ago)
- Topics: civo-k3s, golang, grpc, knative-serving, kubernetes, mongodb
- Language: Go
- Homepage: http://grpc-blog-server.grpc-blog.e20b4706-9ba3-4496-a857-b8b531dd5a38.k8s.civo.com
- Size: 104 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
#
Golang GRPC blog server on deployed kubernetes made serverless with KnativeThe kubernetes deployment files are in the [`./kubernetes/server-deployment`]("./kubernetes/server-deployment") folder.
To create a client for this server, we can use this proto file : [`./blog-server/blogpb/blog.proto`]("./blog-server/blogpb/blog.proto").
The grpc server is deployed on the [`civo`](civo.com) 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](https://quay.io/repository/narendev/blogserver?tab=tags).
The app is built by multistage build to reduce the final image size.
To get the image:
with docker:
```bash
docker pull quay.io/narendev/blogserver
```
with podman:
```bash
podman pull quay.io/narendev/blogserver
```