7,540
edits
Changes
→Setting the environment variables
deploymentconfig.apps.openshift.io/myrouter updated
</pre>
{{note | In minishift, in the router containers the name resolution does not work for Kubernetes service names, because it doesn't use the Kubernetes cluster DNS server but the minishfit VM. Therefore, all you have to do is enter the service's IP address instead of its name. In OpenShift, we have to use the name of the service}}
As a second step, change the HAproxy log level to debug, because it only produces access log in debug level.
deploymentconfig.apps.openshift.io/myrouter updated
</pre>
{{warning | Performance test must be carried out to see how much is the extra load when running the haproxy in debug mode}}