Is there any issues if master internal hostname is placed in /etc/hosts on master hosts

Solution In Progress - Updated -

Issue

  • Suppose the openshift platform is hosted in AWS and has three Master nodes running etcd, api and controller pods. Due to some concerns if switching to Network Load Balancer (NLB) for api calls to preserve source IP of request. However, NLB has limitation, NLB cannot route traffic if source and target is same ec2 instance and frequently oc commands fail if run from master hosts.

  • It is solved by adding internal masterURL hostname to /etc/hosts on master hosts to avoid traffic beeing routed through NLB

  • Is it right to do these changes ?

Environment

  • Red Hat OpenShift Container Platform
    • 4.x

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