Financial-Times/k8s_traffic_plug

Traffic endpoint and graceful shutdown for Elixir Plug apps

ElixirErlangkubernetesk8selixir-library
This is stars and forks stats for /Financial-Times/k8s_traffic_plug repository. As of 04 May, 2024 this repository has 75 stars and 12 forks.

Kubernetes Traffic Plug Support for graceful server shutdown under Kubernetes termination life-cycle. The plug supports a /__traffic endpoint which normally returns 200. When the VM receives a SIGTERM signal, the endpoint starts returning HTTP error code 500, which, when used with an HTTP readinessProbe, ensures that traffic is routed away from the pod, before a delayed graceful shutdown begins. See modules for detailed documentation, also my blog post, Graceful shutdown on Kubernetes with signals...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
talentdeficit/jsxErlang68702200
jeremyong/websocket_clientErlangMakefile18101370
getsentry/sentry-elixirElixirShell571+11700
deadtrickster/prometheus.exElixirShellOther3950640
bitwalker/distilleryElixirShellPowerShell2.9k+23910
nomasystems/nthrottleErlangPython7010
tektoncd/pipelineGoOther8k+101.7k+1
external-secrets/external-secretsGoHCLMakefile3.1k+23576+4
actions-runner-controller/actions-runner-controllerGoShellSmarty3.7k09240
argoproj/argo-cdGoTypeScriptLua14.3k+594.3k+15