Example of how to deploy gRPC (or a plain HTTP/2 server) on Google Kubernetes Engine on Google Cloud Platform that's compatible with Let's Encrypt for HTTPS/TLS at the load balancer level.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
manifest
protos-src
protos
.gitignore
Dockerfile
Gopkg.lock
Gopkg.toml
README.md
main.go

README.md

gke-grpc-example

Example of how to deploy gRPC (or a plain HTTP/2 server) on Google Kubernetes Engine on Google Cloud Platform that's compatible with Let's Encrypt for HTTPS/TLS at the load balancer level.

https://benguild.com/2018/11/11/quickstart-golang-kubernetes-grpc-tls-lets-encrypt/

Setup instructions

Clone the repo within your GOPATH. — If you don't have one, Google what that is and setup your Go environment first! 😅

Locally, generate your protos using the following command:

protoc -I=./protos-src --go_out=plugins=grpc:protos ./protos-src/*.proto

Then, be sure that you have Go Dep, and ensure your dependencies are available:

dep ensure

... Cool. 👍🏻 — Then, continue to follow the instructions in the blog post linked above!