-
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
service type=NodePort doesn't work in non-standard port range (even with apiserver configuration) #1006
Comments
Right now I use
|
Can you show the output of |
hi @r2d4 here you go, seems my error is similar to discussion in #836, people posted similar logs there
|
Your issue is that you're not using the correct path for ServiceNodePortRange, it should be
i.e. apiserver.GenericServerRunOptions |
@r2d4 thank you |
BUG REPORT
Minikube version: v0.15.0
Environment:
curl -Lo minikube https://storage.googleapis.com/minikube/releases/v0.15.0/minikube-darwin-amd64 && chmod +x minikube && sudo mv minikube /usr/local/bin/
What happened:
Issue is similar to #836 but doesn't work for me
I receive error when start service on ports other than 30000-32767:
The Service "http-service" is invalid: spec.ports[0].nodePort: Invalid value: 3000: provided port is not in the valid range. The range of valid ports is 30000-32767
Even with apiserver port range configured during
minikube start
What you expected to happen:
I expect my "http-service" service would be created successfully & I can use my rails app running in pod in minikube on port 3000
How to reproduce it (as minimally and precisely as possible):
Anything else do we need to know:
Here is my web-service.json
The text was updated successfully, but these errors were encountered: