OpenShift · Schema

RoutePort

Route port configuration that specifies which service port the route points to.

CI/CDCloud NativeContainersDevOpsEnterpriseKubernetesPaaS

Properties

Name Type Description
targetPort string The target port on pods selected by the service this route points to. Can be a port name or number.
View JSON Schema on GitHub

JSON Schema

openshift-rest-route-port-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "RoutePort",
  "type": "object",
  "description": "Route port configuration that specifies which service port the route points to.",
  "properties": {
    "targetPort": {
      "type": "string",
      "description": "The target port on pods selected by the service this route points to. Can be a port name or number."
    }
  }
}