{"id":16245881,"url":"https://github.com/jijiechen/grpc-probe-app","last_synced_at":"2026-05-10T06:43:33.854Z","repository":{"id":233422908,"uuid":"787165434","full_name":"jijiechen/grpc-probe-app","owner":"jijiechen","description":"An example app demonstrating gRPC health check to support Kubernetes  readiness/liveness/startup probes.","archived":false,"fork":false,"pushed_at":"2024-04-16T03:37:04.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-14T07:47:44.797Z","etag":null,"topics":["grpc","kubernetes"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jijiechen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-04-16T02:26:26.000Z","updated_at":"2024-04-16T03:26:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"dc00b2bf-d406-48c4-af3f-a2c361578716","html_url":"https://github.com/jijiechen/grpc-probe-app","commit_stats":null,"previous_names":["jijiechen/grpc-probe-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jijiechen%2Fgrpc-probe-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jijiechen%2Fgrpc-probe-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jijiechen%2Fgrpc-probe-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jijiechen%2Fgrpc-probe-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jijiechen","download_url":"https://codeload.github.com/jijiechen/grpc-probe-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247838409,"owners_count":21004573,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["grpc","kubernetes"],"created_at":"2024-10-10T14:28:29.116Z","updated_at":"2026-05-10T06:43:33.815Z","avatar_url":"https://github.com/jijiechen.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"\nAn example application demonstrating how to use gRPC health checking.\n\n# Usage\n\nYou may use this app directly using docker:\n\n```\ndocker run --rm -it jijiechen/grpc-probe-app:latest\n```\n\nOr if you'd like to build yourself, please clone the code and execute the following commands:\n\n```sh\n go build -o grpc-probe-app .\n ./grpc-probe-app [--port 5085]\n```\n\n## Test the greeter server\n\nExecute these commands:\n\n```sh\n# install grpcurl\n# go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest\n\ngrpcurl -proto ./proto/helloworld.proto -d '{\"name\": \"Avatar\"}' -plaintext localhost:5085 helloworld.Greeter/SayHello\n```\n\n## Test the health check probe server\n\nExecute these commands:\n\n```sh\n# install grpcurl\n# go install github.com/fullstorydev/grpcurl/cmd/grpcurl@latest\n\ngrpcurl -proto ./proto/healthcheck.proto -d '{\"service\": \"readiness\"}' -plaintext localhost:5085 grpc.health.v1.Health/Check\ngrpcurl -proto ./proto/healthcheck.proto -d '{\"service\": \"liveness\"}' -plaintext localhost:5085 grpc.health.v1.Health/Watch\n```\n\n\n# Protocol\n\n1. This application implements the [hello world greeter protocol](https://github.com/grpc/grpc-go/blob/master/examples/helloworld/helloworld/helloworld.proto).\n\n2. This application implements the gRPC health checking protocol. The protocol is defined in the following document:\n\nhttps://github.com/grpc/grpc/blob/master/doc/health-checking.md\n\nIt can be used as a Kubernetes gRPC readiness/liveness/startup probe handler.\n\n# TroubleShooting\n\nQ: Readiness probe errored: missing probe handler for pod(uid):container\n\nA: Please make sure your Kubernetes cluster support the gRPC container probe feature. The feature is available in Kubernetes 1.23+, and requires the `GRPCContainerProbe` feature gate to be turned on a Kubernetes cluster older than 1.27.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjijiechen%2Fgrpc-probe-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjijiechen%2Fgrpc-probe-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjijiechen%2Fgrpc-probe-app/lists"}