When we want to test simple features in Kubernetes, we need simple web server images. We don't need a full-fledged docker image but something that responds with the IP address, HTTP headers, etc... That way we can quickly test the load balancing and other basic features.
Some create new docker images to do so. But we don't need to as this is a common problem and others have already created such images. The best way to search is with the keyword 'echo' in the docker hub.
Below are some echo images
- https://hub.docker.com/r/ealen/echo-server
- https://hub.docker.com/r/mendhak/http-https-echo/tags
- https://hub.docker.com/r/hashicorp/http-echo/
These are capable of responding differently according to the inputs given. It is really handy to simulate error messages, caching, etc...Check out for more details.
In case there is a better one, please comment.
No comments:
Post a Comment