"oc login" unable to reach master API service when fronted by a HAProxy load-balancer
Issue
-
Openshift master nodes are fronted by a standalone HAProxy load-balancer (running outside of the Openshift cluster).
-
The following parameters in the Openshift master node configuration file (
/etc/origin/master/master-config.yaml) are configured to point to load-balancer URLs:masterPublicURL: https://<publicfacing_load-balancer_hostname>:8443 masterURL: https://<privatefacing_load-balancer_hostname>:8443 -
When trying to login to Openshift cluster, user receives the following error:
# oc login -u system:admin error: EOF
Environment
- Openshift Container Platform 3.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.