-
Notifications
You must be signed in to change notification settings - Fork 760
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
Update the example to include NodePort and accessability #409
Update the example to include NodePort and accessability #409
Conversation
This updates the example we have on the website to include NodePort in the "labels" section as well as instructions on how to access the service.
Going to merge for now since the index page is the main page people are hitting and this is a common problem (how do I access the example?). Let me know if there are any outstanding issues / problems! |
Hmm, I'm not sure if we should encourage people to use nodePort. Using LoadBalancer would be much better. |
@kadel Only problem is that LoadBalancer is not supported in Minikube and those who want to try it would have to use a cloud provider with that supported 👎 What if I leave a note though on what the label is (reference to the document we have) as well as outlining that if you're on GCE / AWS / etc use LoadBalancer instead? |
@cdrage actually even if you convert the service as |
If you are using minikube and you have LoadBalancer service you can access it using This is basically same think that @surajssd is talking about it is taking advantage of NodePort, but user doesn't have to know about it. I don't like using NodeBalancer for accessing services directly from "outside", it won't work on most production clusters. |
Okay. So basically, switch to LoadBalancer in the example and in the tutorial tell them to simply check |
Yes. |
btw. one useful, but ugly command 😉 :
this is will display public ip and port for frontend service. Tested on GKE |
This updates the example we have on the website to include NodePort in
the "labels" section as well as instructions on how to access the
service.