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.
License: Apache License 2.0
Shell 33.94%Go 66.06%
hc-from-file's Introduction
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`.