I deployed an application in a kubernetes cluster using Nodeport (all are private ip and connection happens via vpn), When i am accessing or doing telnet within cluster it’s working. If i connect from outside cluster, i am able to do telnet in which node my pod is running. Application port is not connecting with other nodes for same port number.
Ideally i should able to telnet to the application port number irreevalent to where my pod is running.
with old kernel version it’s working fine, i couldn’t find any diff with both versions. i can’t use old kernel version as well.
anybody have any idea on this?
I’ve read this a few times and still am not quite sure what you’re doing yet. I assume by “application port” you mean the nodePort of the NodePort service created for your application. If so, any node you can reach should expose the application on that same port. I’m not sure what test you’re doing in telnet (should be fine for a TCP test) so I’m not sure why this would not work.
yes, I mean application port. Yes ideally if i am accessing an application with the port number it should work irrespective of host. it’s working within cluster. But if i am trying from outside the cluster i am able to access the application only via the node where my pod is ruuning. if i try via different node, it’ not working.
e.g> if i have 5 nodes cluster. and my pod is ruuning on node3, i am able to access my application from outside cluster via node3 it’s working. from other nodes it’s not working.
if i deploy in any other node i.e if on node4, there it it’s working. in other nodes it’s not working.
Ideally it should work irrespective of any nodes. Any suggestion on this?
moreover, i am getting this error after kernel upgrade of vm’s