Closed luatnd closed 3 months ago
Ah, sorry, I forgot that I can use minikube tunnel
to tunnel Ingress to host port 80 & 443.
It's ok by using minikube tunnel
for now.
Try recreating the cluster:
minikube delete
minikube start --addons=ingress --ports=80:80,443:443
According to a comment from the PR:
It's important to note that the --ports option only applies when first creating the minikube docker container. If minikube start --ports=... is called when the minikube container already exists, then the option is ignored.
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
What Happened?
My purpose is map port 80 & 443 from k8s inside minikube to my host machine MacOS.
I follow this tutorial: https://kubernetes.io/docs/tasks/access-application-cluster/ingress-minikube/
As I can see minukube container doesn't mount the port 80 & 443:
As a result, I cannot reach the port 80 from my host machine:
As investigated some closed issues, I tried this with no luck
Tried with
docker run
:So how can I map port 80 & 443 to host without using reverse proxy?
Attach the log file
Operating System
macOS (Default)
Driver
Docker