Prerequisites
Preparation
Open a Terminal window by clicking on the Termnial icon in the left sidebar - we will use this extensively later as well
Start the demo application
kubectl create -f ./deployment/demoapp.yamlkubectl create -f ./deployment/demoapp-service.yamlkubectl create -f ./deployment/demoapp-backend.yamlkubectl create -f ./deployment/demoapp-backend-service.yamlWait for the demo application to be available (the status must be 1/1)
kubectl get pods> NAME READY STATUS RESTARTS AGE> k8sdemo-backend-5b779f567f-2rbgj 1/1 Running 0 21s> k8sdemo-backend-5b779f567f-p6j76 1/1 Running 0 21s> k8sdemo-bd6bbd548-jcb6r 1/1 Running 0 21sOpen the demo application in the browser
Open the webpage directly by typing:
minikube service k8sdemo-servicewhere k8sdemo-service is the name of the exposed kubernetes service.
Navigate to http://localhost:3000/ in your browser.