Go to file
Sangmin Kim 4d733258c0 modified: juiceshop/traefik-ingressR.yaml 2024-04-08 11:10:27 +09:00
juiceshop modified: juiceshop/traefik-ingressR.yaml 2024-04-08 11:10:27 +09:00
LICENSE Initial commit 2024-04-02 03:15:00 +00:00
README.md modified: juiceshop/traefik-ingressR.yaml 2024-04-08 11:10:27 +09:00

README.md

juiceshop

http://origin-juiceshop.akamai-lab.com

https://origin-juiceshop.akamai-lab.com

docker image: bkimminish/juice-shop

Prerequisites

  1. Deploy traefik with kubernetes IngressRoute provider.
  1. 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
  1. Create a namespace.
$ kubectl create namespace juiceshop

Deploy

  1. Apply yaml files.
$ kubectl apply -f juiceshop/deployment.yml -f juiceshop/service.yml -f juiceshop/traefik-ingressR.yaml -n juiceshop
  1. 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
  1. Update DNS record with traefik-web external IP.
origin-juiceshop.akamai-lab.com  172.233.169.31