[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Can I run a NON-HTTP UDP based application on Openshift V3



NodePorts are opened on all nodes, and the requests that go to that port are load balanced to all pods under the service.

On Nov 23, 2015, at 11:57 PM, Suryaveer Chauhan <chauhan suryaveer gmail com> wrote:

Hi Flozano,

Thanks for the answer. 

I want to confirm something about ports in spec:NodePort. It is written that we have to give a nodeport within some range 30000-32000 (not exact range). What I understand for NodePort is that a port is Opened on a node where a pod is running and I'll access the my application using nodeIp:nodeport. ( I saw some tutorial videos)

My requirement is to expose port 5060 which is the standard port, can I achieve this using nodeport. 

Pardon me if I am asking some stupid questions, I am still trying to run a simple application using standard service but not able to hit it from outside the cluster, otherwise I would have tried the nodeport thing. I'll ask another question for the issue I mentioned.

Thanks & Regards,
Suryaveer Singh Chauhan

On 23 November 2015 at 08:54, Fernando Lozano <flozano redhat com> wrote:
Hi Suryaveer,

If you create a service of type NodePort you do not need to use a Route.

Think about routes as HTTP reverse proxies. They hide the containers and nodes behind them. Think about NodePort services as exposing a host port which is mapped to a container port.


[]s, Fernando Lozano


Thanks again.

I am bit confused now. Confused about what is routes for, I mean is it like if I used service spec.type: NodePort, routes are not required? Is this type of information is documented somewhere?
 
I am reading the documentation, but it just has the description of components. I would appreciate if you can redirect me to some detailed documentation or tutorial from where I can learn more.


Thanks & Regards,
Suryaveer Singh Chauhan

On 21 November 2015 at 17:39, Clayton Coleman <ccoleman redhat com> wrote:
You can use a service of type "node port" - by creating your service with spec.type: NodePort in the json or yaml.

On Nov 21, 2015, at 4:29 PM, Suryaveer Chauhan <chauhan suryaveer gmail com> wrote:

Hello Clayton,

Yes, that's my question. Thanks for the answer.

As per your answer, I cannot deploy my application on Openshift V3 now.

If I understood correctly that even if services have UDP capability, routes renders it to be of no use or is it something else which I do not know. Please consider giving some details if what I understood is wrong.





Thanks & Regards,
Suryaveer Singh Chauhan

On 21 November 2015 at 07:54, Clayton Coleman <ccoleman redhat com> wrote:
I believe I answered this on stackoverflow under http://stackoverflow.com/questions/33838765/openshift-v3-confusion-on-services-and-routes/33842281#33842281 - is that your question?

On Nov 20, 2015, at 8:33 PM, Suryaveer Chauhan <chauhan suryaveer gmail com> wrote:

Hi All,

My requirement is to run an SIP application which listens on port 5060 over UDP.

I started with Kubernetes and then found Openshift V3 and thought this is it but while going through the documentation I got confused by services and routes.

This says about service proxy that this allows simple TCP/UDP stream forwarding while this link about routes says that only supported protocols are HTTP/S, Websockets and TLS.

I think I did not understand the concept properly.

I'll appreciate some guidance.

Thanks & Regards,
Suryaveer Singh Chauhan
_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users




_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]