You can create the Docker image for the following application with:
docker build -t <your_docker_hub_username>/first-k8s-app:1.0.0 .You can push the image to the Docker Hub registry with:
docker push <your_docker_hub_username>/first-k8s-app:1.0.0Start your minikube cluster with:
minikube start --vmEnable the Ingress add-on with:
minikube addons enable ingressDeploy all of the resources with:
kubectl apply -f kubeRetrieve the IP address of minikube with:
minikube ipVisit the application at http://<minikube-ip>/second