This repo contains a sample app exposing a gRPC health endpoint to demo Kubernetes gRPC probes.

grpc-health

This repo contains a sample app exposing a health endpoint by implementing grpc_health_v1. Usecase is to demo the gRPC readiness and liveness probes introduced in Kubernetes 1.23.

cat <<EOF | kubectl apply -f -
apiVersion: apps/v1
kind: Deployment
metadata:
  creationTimestamp: null
  labels:
    app: grpc-health
  name: grpc-health
spec:
  replicas: 1
  selector:
    matchLabels:
      app: grpc-health
  strategy: {}
  template:
    metadata:
      creationTimestamp: null
      labels:
        app: grpc-health
    spec:
      containers:
      - image: ghcr.io/nmeisenzahl/grpc-health/grpc-health:latest
        imagePullPolicy: Always
        name: grpc-health
        ports:
        - containerPort: 3000
        resources: {}
        livenessProbe:
            grpc:
                port: 3000
            initialDelaySeconds: 10
        readinessProbe:
            grpc:
                port: 3000
            initialDelaySeconds: 10
status: {}
EOF
Owner
Nico Meisenzahl
Doing #CloudNative, #Kubernetes & #Azure at white duck. 👨‍💻☁️ . MSFT MVP, Gitlab Hero, blogger & speaker. #CoffeeAddicted ☕️
Nico Meisenzahl
Similar Resources

This is a tool that will proxy simple HTTPS requests to an external HTTP endpoint

 This is a tool that will proxy simple HTTPS requests to an external HTTP endpoint

AcmeShield A secured HTTP proxy that forwards requests from a remote service(Postman). This is a tool that will proxy simple HTTPS requests to an exte

Mar 21, 2022

Mauliasproxy - a simple room alias proxy that can respond to the federation alias query endpoint

Mauliasproxy - a simple room alias proxy that can respond to the federation alias query endpoint

Dec 22, 2022

🏥 Barebones, detailed health check library for Go

go-health 🏥 Barebones, detailed health check library for Go go-health does away with the kitchen sink mentality of other health check libraries. You

Oct 19, 2021

Health check for instances behaind the ipvs

ipvshc Health check for instances behaind the ipvs Futures: Health check instances (curl from srcip) Change state (ipvsadm) Config in sql (sqlite) Sta

Nov 4, 2021

Cross check makes health checks on PostgreSQL and MySQL database servers

Cross Check Cross check makes health checks on PostgreSQL and MySQL database servers, it also performs master & slave control for clusters in H/A Acti

Jan 14, 2022

A simple, standalone, and lightWeight tool that can do health/status checking, written in Go.

A simple, standalone, and lightWeight tool that can do health/status checking, written in Go.

EaseProbe EaseProbe is a simple, standalone, and lightWeight tool that can do health/status checking, written in Go. Table of Contents EaseProbe 1. Ov

Dec 24, 2022

Package rsync contains a native Go rsync implementation.

gokrazy rsync Package rsync contains a native Go rsync implementation. ⚠ Beware: very fresh. Might eat your data. You have been warned! ⚠ The only com

Jan 2, 2023

The modules is contains the golang utilities for internal services

Shared Utility The modules is contains the golang utilities for internal service

Jan 25, 2022

Turbine-common - This package contains the common interfaces for Turbine that are shared with other software

turbine-common This package contains the common interfaces for Turbine that are

Feb 12, 2022
Related tags
Anaximander is an ISP probing tool implementing several reduction techniques to cut down the number of probes launched in order to map an Autonomous System
Anaximander is an ISP probing tool implementing several reduction techniques to cut down the number of probes launched in order to map an Autonomous System

Anaximander is an ISP probing tool implementing several reduction techniques to cut down the number of probes launched in order to map an Autonomous System, while still keeping high discovery levels.

Jun 21, 2022
An easy-to-use net tool for exposing local service to public.
An easy-to-use net tool for exposing local service to public.

gexpose An easy-to-use net tool for exposing local service to public. 一款简单易用的内网穿透工具 Architecture Usage Usage of ./gexpose: -server server mo

Nov 7, 2022
Raft-grpc-demo - Some example code for how to use Hashicorp's Raft implementation with gRPC

raft-grpc-example This is some example code for how to use Hashicorp's Raft impl

Jan 4, 2022
Grpc-train - Train booking demo using gRPC

gRPC Demo: Train Booking Service Description Usage Contributing Development Tool

Feb 6, 2022
Todo-app-grpc - Go/GRPC codebase containing RealWorld examples (CRUD, auth, advanced patterns, etc)

Go/GRPC codebase containing RealWorld examples (CRUD, auth, advanced patterns, e

Oct 12, 2022
protoc-gen-grpc-gateway-ts is a Typescript client generator for the grpc-gateway project. It generates idiomatic Typescript clients that connect the web frontend and golang backend fronted by grpc-gateway.

protoc-gen-grpc-gateway-ts protoc-gen-grpc-gateway-ts is a Typescript client generator for the grpc-gateway project. It generates idiomatic Typescript

Dec 19, 2022
A simple server which can be used as an RPC endpoint in popular Ethereum wallets.

RPC Endpoint This repository contains code for a simple server which can be used as an RPC endpoint in popular Ethereum wallets. The endpoint is https

Jan 2, 2023
Serve endpoint metadata for client side load balancing

Servok Servok is a service that provides endpoint metadata for client side load balancing. See CONTRIBUTING.md for instructions on how to contribute a

Dec 9, 2021
Simple endpoint to create chat for specific application.

About Chat System Simple endpoint to create chat for specific application. Note This endpoints depend on chat-system repoistory, so you ought to run c

Nov 20, 2021
Gogrok is a self hosted, easy to use alternative to ngrok. It uses SSH as a base protocol, using channels and existing functionality to tunnel requests to an endpoint.

gogrok A simple, easy to use ngrok alternative (self hosted!) The server and client can also be easily embedded into your applications, see the 'serve

Dec 3, 2022