Refs: https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/
You are tasked to deploy an application to http://hello-world.info
the software is package at gcr.io/google-samples/hello-app:1.0
the app team said the software listens on port 8080
. web app responds to prefix path http://hello-world.info/*
Deploy only using the 3 commands, complete the commands.
kubectl create deployment --port **** ...
kubectl expose ...
kubectl create ingress ...
The first person to answer unlocks the hallway zoom
answer:
kubectl create deployment web --image gcr.io/google-samples/hello-app:1.0 --port 8080
kubectl expose deployment web
kubectl create ingress web --rule="hello-world.info/*=web:8080"