Deploy Goof Sample App
DO NOT deploy this sample application to any production environment.
For these examples, we are providing a sample vulnerable Node.js application which you can deploy to your lab environment. The app is available in a public GitHub repository which can be cloned to your local development machine.
From a terminal, navigate to the location where you cloned the repository and execute the following commands:
1
kubectl apply -f goof-service.yaml
Copied!
1
kubectl apply -f goof-deployment.yaml
Copied!
Once successfully deployed you will see results as follows:
1
deployment.apps/goof created
2
deployment.apps/goof-mongo created
Copied!
If you would like to access the public endpoint for this app you may do so by running the following command and copy and pasting the EXTERNAL-IP output into a web browser:
1
kubectl get svc
Copied!
This step is not necessary for this exercise. You may proceed to the next section.
Last modified 2d ago
Export as PDF
Copy link
Edit on GitHub