NodePort service is not accessible from all the nodes in RHOCP 4

Solution Verified - Updated -

Issue

  • Service of type NodePort is not accessible from the nodes except one node which is running the pod endpoint
$ curl -v telnet://ip-10-2-56-111.ap-south-1.compute.internal:32287
* About to connect() to ip-10-2-56-111.ap-south-1.compute.internal port 32287 (#0)
*   Trying 10.2.56.111...

$ curl -v telnet://ip-10-3-123-16.ap-south-1.compute.internal:32287
* About to connect() to ip-10-3-123-16.ap-south-1.compute.internal port 32287 (#0)
*   Trying 10.3.123.16...
* Connected to ip-10-3-123-16.ap-south-1.compute.internal (10-3-123-16) port 32287 (#0)

Environment

  • Red Hat OpenShift Container Platform 4

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content