https://github.com/probably-not/k8shealthcheck
A small and simple health check for Kubernetes Applications.
https://github.com/probably-not/k8shealthcheck
Last synced: about 1 month ago
JSON representation
A small and simple health check for Kubernetes Applications.
- Host: GitHub
- URL: https://github.com/probably-not/k8shealthcheck
- Owner: probably-not
- Created: 2020-02-13T19:08:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-02-13T19:12:01.000Z (over 6 years ago)
- Last Synced: 2025-02-24T16:53:23.252Z (over 1 year ago)
- Language: Go
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# K8sHealthCheck
A small and simple health check for Kubernetes Applications that can be used on any non-HTTP server app as well.
One of the biggest issues that I've had with using Kubernetes is the fact that the typical way to tell K8S that your pod is alive is by raising a server with an endpoint that returns a 200 OK response.
To me, this is an annoying overhead that I despise, since I write non-HTTP server applications as well, so I wrote a simple library out of the last health check I wrote for one of these so that I can easily use and run a small HTTP endpoint without copying and pasting my code everywhere.