Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.16 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.16 KB

DVKA (Damn Vulnerable Kubernetes Application) - Lab 2

Lab Setup

Requirements

Deploy the lab

  • git clone https://github.com/Alevsk/dvka the repository and then cd dvka/lab-2
  • Optional: configure various parameters of the challenge in k8s/base/deployment.yaml
  • Run: kustomize build k8s/base | kubectl apply -f -
  • Expose lab-2 application: kubectl port-forward svc/debug-console 8080:8080 -n lab-2
  • Open your browser and go to http://localhost:8080/
  • Happy hacking

lab-2 app

Key Concepts

End the lab

  • Stop the port-forward command
  • kustomize build k8s/base | kubectl delete -f -