As per: https://github.com/openshift/openshift-docs/pull/3637 The docs[1] state that there are environment variables for setting routes using labels and field selectors (ROUTE_LABELS and ROUTE_FIELDS respectively). It would be good to have a section in the Route topic about how to set these when creating routes. [1] https://docs.openshift.com/container-platform/3.4/architecture/core_concepts/routes.html#env-variables [2] https://docs.openshift.com/container-platform/3.4/install_config/router/default_haproxy_router.html
PR created for this BZ: https://github.com/openshift/openshift-docs/pull/3706
Commit pushed to master at https://github.com/openshift/openshift-docs https://github.com/openshift/openshift-docs/commit/b8bfba7bda98d085fe064c2f2c7e6e9a8c77988e Merge pull request #3706 from bfallonf/routelabels_1418895 Bug 1418895 Added filtering routes by labels section
Link to released docs: https://access.redhat.com/documentation/en-us/openshift_container_platform/3.4/html-single/installation_and_configuration/#install-haproxy-filtering-routes