Skip to content

Latest commit

 

History

History
46 lines (28 loc) · 1.36 KB

README.md

File metadata and controls

46 lines (28 loc) · 1.36 KB

whoami

Container running containous/whoami to discover traefik :

whoami-screenshot

Usage with docker

Usage with Kubernetes

Quickstart

Read k8s-install.sh and run :

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

Step by step

  • Create namespace : kubectl create namespace whoami

  • See whoami/manifest and use the following command to deploy with Kustomize :

# Option 1) Deployment and Service only
kubectl -n whoami apply -k https://github.com/mborne/docker-devbox/whoami/manifest/base
# To get whoami on http://127.0.0.1:8888 :
kubectl -n whoami port-forward service/whoami 8888:80

# Option 2) Deployment, Service and Ingress ( http://whoami.dev.localhost )
kubectl -n whoami apply -k https://github.com/mborne/docker-devbox/whoami/manifest/localhost

# Option 3) Deployment, Service and Ingress ( http://whoami.dev.quadtreeworld.net )
kubectl -n whoami apply -k https://github.com/mborne/docker-devbox/whoami/manifest/qtw-dev