Skip to content

tommy-sho/k8s-grpc-health-check

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Health checking of gRPC server on kubernetes cluster

Demo repository of health-checking for gRPC server working on kubernetes. Use grpc-health-probe in this demo. Kubernetes does not support gRPC server health checking natively. The Liveness and readiness probes is what keep checking your application is available or not, They can detect unhealthy pods, avoid flow traffic to them.

components

Requirement

  • docker for Mac (&Kubernetes)
  • kubectl command

Usage

Check your cluster

$ kubectl get node

Build Image

$ make build

Deploy to cluster

$ make apply

Test

$ make run name=tommy
Hey! tommy

Clean up

$ make delete

LICENSE

MIT

About

This repository include some example for health checking of gRPC server working on kubernetes.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published