This will give an idea to host a hello world application in minikube cluster
Minikube setup is already done.
If minikube is not installed kindly follow,
https://gist.github.com/gonzaloplaza/f62fdcfdb6aac3d15a0fe0d750715729
minikube start
minikube dashboard
https://github.com/asvinwin123/kubernetes-hello-world.git
cd kubernetes-hello-world
kubectl create -f deployment.yaml
go to minikube dashboard and check the deployment and pods tab. verify the pods are in running state.
kubectl get pods
kubectl get deployments
kubectl get services
get the minikube ip using
minikube ip
in browser open the following url to see the hello wrold app running in port 30001,
http://minikubeip:30001
kubectl delete -f deployment.yaml