Configuring OpenShift Route to work with Router Sharding

You can configure labels, annotations, and domains for OpenShift Route to work with Router Sharding.

Prerequisites
Procedure
  • Configure the CheCluster Custom Resource. See Using the CLI to configure the CheCluster Custom Resource.

    spec:
      components:
        cheServer:
          extraProperties:
            CHE_INFRA_OPENSHIFT_ROUTE_LABELS: <labels> (1)
            CHE_INFRA_OPENSHIFT_ROUTE_HOST_DOMAINSUFFIX: <domain> (2)
        networking:
          labels: <labels> (1)
          domain: <domain> (2)
          annotations: <annotations>__ (3)
    1 A comma-separated list of labels that the target ingress controller uses to filter the set of Routes to service.
    2 The DNS name serviced by the target ingress controller.
    3 An unstructured key value map stored with a resource.`