An open API service indexing awesome lists of open source software.

https://github.com/bowei/hc-from-file

A simple sidecar that serves a healthcheck status from a file. This is useful if your Pod has a more complex healthcheck status that needs to be customized.
https://github.com/bowei/hc-from-file

Last synced: 11 months ago
JSON representation

A simple sidecar that serves a healthcheck status from a file. This is useful if your Pod has a more complex healthcheck status that needs to be customized.

Awesome Lists containing this project

README

          

README
======

Example of serving a healthcheck status from a file.

main.go serves the contents of `-resultFile` as the HTTP
status/response. This allows for a separate script
(`healthcheck-example.sh`) to healthcheck containers using custom code
and write the results to `-resultFile`.