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.
- Host: GitHub
- URL: https://github.com/bowei/hc-from-file
- Owner: bowei
- License: apache-2.0
- Created: 2022-04-27T16:58:45.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2022-04-27T17:01:33.000Z (about 4 years ago)
- Last Synced: 2025-02-25T10:20:40.787Z (over 1 year ago)
- Language: Go
- Size: 6.84 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
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`.