Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

whoami

Container running traefik/whoami) to discover traefik :

whoami-screenshot

Usage with docker

  • Start 2 instances : docker compose up -d --scale whoami=2
  • Open http://whoami.dev.localhost, refresh multiple times and note that "Hostname" (the container id) is changing as traefik is load balancing on the 2 instances.

Usage with Kubernetes

Read whoami/k8s-install.sh and run :

# To get whoami on http://whoami.dev.localhost
bash whoami/k8s-install.sh
# To get whoami on http://whoami.example.net
DEVBOX_HOSTNAME=example.net bash whoami/k8s-install.sh

Ressources