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:
      server:
        cheServerRoute:
          labels: <labels> (1)
          domain: <domain> (2)
          annotations:     (3)
            key1: value1
            key2: value2
        customCheProperties:
          CHE_INFRA_OPENSHIFT_ROUTE_LABELS: <labels> (1)
          CHE_INFRA_OPENSHIFT_ROUTE_HOST_DOMAIN__SUFFIX: <domain> (2)
    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.`