Assessment -1 OpenEBS Offsite Intern
A Docker Image running simple Hello Python Application.
This image shows the name of the user in the browser.
-
Clone the repository
https://github.com/slalwani97/openebs-assessment-1.git
-
Jump to that folder using cd
cd openebs-assessment-1
-
Apply the .yaml files to run the app.
kubectl apply -f pod.yaml
kubectl apply -f deployment.yaml
kubectl apply -f service.yaml
-
Now run the docker run command to give a manual user input to display on Browser.
sudo docker run -d -p 4000:80 -e NAME='your-name' slalwani97/openebs-assessment:1
-
Hit the link in the browser and you may see similar to, with your-name-