OpenShift · Schema

RouteTargetReference

Specifies the target that traffic is routed to. Weight controls the proportion of traffic sent to this backend.

CI/CDCloud NativeContainersDevOpsEnterpriseKubernetesPaaS

Properties

Name Type Description
kind string The kind of target, typically Service.
name string Name of the target service.
weight integer Relative weight for traffic distribution (0-256). A zero weight causes no traffic to be sent to this backend.
View JSON Schema on GitHub

JSON Schema

openshift-rest-route-target-reference-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RouteTargetReference",
  "type": "object",
  "description": "Specifies the target that traffic is routed to. Weight controls the proportion of traffic sent to this backend.",
  "properties": {
    "kind": {
      "type": "string",
      "description": "The kind of target, typically Service."
    },
    "name": {
      "type": "string",
      "description": "Name of the target service."
    },
    "weight": {
      "type": "integer",
      "description": "Relative weight for traffic distribution (0-256). A zero weight causes no traffic to be sent to this backend."
    }
  }
}