-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to access a NodePort service from outside #18513
Comments
/sig network |
/assign |
Anyone ? |
@nicolasduminil can you share outcome of following command |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
@nicolasduminil gentle reminder |
❌ Exiting due to SVC_NOT_FOUND: Service 'undertow' was not found in 'p' namespace. |
@nicolasduminil it seems you kep space between undertow and -np so its is searching in p namespace. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
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:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
/remove-lifecycle rotten |
@nicolasduminil have you tried again as suggested? |
i have a similar case. i use minikube for learning purpose and this solve my problem when using NodePort. |
What Happened?
In an Undertow web server, I deployed a simple HTTP listener which just returns a text to the caller. I'm running this server in a Minikube pod. I've created the associated deployment and I exposed it as a NodePort service. This service should be accessible from outside at both the CLUSTER-IP and the node IP address. But it isn't. It's only accessible from within the pod. Here is what I did:
Now the service should be accessible from my box at both 10.111.62.34:8080 and 10.244.0.3:31158, but is isn't.
However, the following works as expected:
What did I miss here ?
Many thanks in advance for your help and support.
Attach the log file
log.txt
Operating System
Ubuntu
Driver
Docker
The text was updated successfully, but these errors were encountered: