Simple web server... that sometimes fails its health check (on purpose)
311
This is a simple web server with a chaotic twist. In normal operation, it prints out a line of poetry by a given poet from a given poem (/). But the health check (/healthz) randomly fails (approx. 1% of the time).
I use this for simple chaos testing in a Kubernetes cluster, including this image in testing configurations for different resource types.
Poetic Injustice is intentionally latest-only. The only changes that will be made are minor bug fixes, and possibly a control to allow users to specify the frequency with which it fails.
This image is tiny because it was written in Rust and built on Alpine. Weeeeee!
To hack one the code, head on over to https://github.com/technosophos/poetic-injustice
Content type
Image
Digest
Size
5.2 MB
Last updated
over 7 years ago
docker pull technosophos/poetic-justice