mirror of
https://github.com/sablierapp/sablier.git
synced 2025-12-27 15:41:41 +01:00
Add plugins folder to integrate with multiple reverse proxies The project is now released as 'Sablier'
Kubernetes
Run the demo
you need docker-compose, kubectl and helm (v3) installed
git clone git@github.com:acouvreur/sablier.gitcd sablier/plugins/traefik/examples/kubernetesdocker-compose up- Wait 1 minute
export KUBECONFIG=./kubeconfig.yamlhelm repo add traefik https://helm.traefik.io/traefikhelm repo update- Edit values.yaml and add your traefik pilot.token
helm install traefik traefik/traefik -f values.yaml --namespace kube-systemkubectl apply -f deploy-whoami.ymlkubectl apply -f manifests.ymlkubectl scale deploy whoami --replicas=0- Browse to http://localhost/
kubectl get deployments -o wide
NAME READY UP-TO-DATE AVAILABLE AGE CONTAINERS IMAGES SELECTOR
whoami 1/1 1 1 16m whoami containous/whoami app=whoami
- After 1 minute:
kubectl get deployments -o wide
NAME READY UP-TO-DATE AVAILABLE AGE CONTAINERS IMAGES SELECTOR
whoami 0/0 0 0 17m whoami containous/whoami app=whoami`
- Browse to http://localhost/