Sangmin Kim e3637d2241 | ||
---|---|---|
juiceshop | ||
LICENSE | ||
README.md |
README.md
juiceshop
http://origin-juiceshop.akamai-lab.com
https://origin-juiceshop.akamai-lab.com
docker image: bkimminish/juice-shop
Prerequisites
- Deploy traefik with kubernetes IngressRoute provider.
- Get traefik-web external IP.
$ kubectl get services -n default
NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE
kubernetes ClusterIP 10.128.0.1 <none> 443/TCP 24d
traefik-dashboard-service LoadBalancer 10.128.147.145 172.233.168.26 8080:30238/TCP 27h
traefik-web LoadBalancer 10.128.216.128 172.233.169.31 80:32634/TCP,443:31012/TCP 27h
- Create a namespace.
$ kubectl create namespace juiceshop
Deploy
- Apply yaml files.
$ kubectl apply -f juiceshop/deployment.yml -f juiceshop/service.yml -f juiceshop/traefik-ingressR.yaml
- DNS spoofing test.
$ http http://172.233.169.31 Host:origin-juiceshop.akamai-lab.com
$ http https://172.233.169.31 Host:origin-juiceshop.akamai-lab.com --verify=no
- Update DNS record with traefik-web external IP.
origin-juiceshop.akamai-lab.com 172.233.169.31