Skip to content

A simple HTTP service that responds with its hostname and IP addresses

Notifications You must be signed in to change notification settings

pbitty/hello-from

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

hello-from

hello-from is a simple HTTP service that responds with its hostname and the non-loopback IPv4 addresses of its environment. Its main use is for demoing load-balancing applications, like Kubernetes Services.

Example:

$ docker run -ti -p 80:80 -d --name=hello-from pbitty/hello-from
498ca7cb25e92c2c0152ea5993b91cef2b0a35de7a7dc6fbfefd21194301190b

$ curl 192.168.99.102
Hello from 498ca7cb25e9 (172.17.0.2)

About

A simple HTTP service that responds with its hostname and IP addresses

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages