SMI UDPRoute

Service Mesh Interface (SMI) UDPRoute resource (specs.smi-spec.io/v1alpha4). Matches UDP traffic by destination port. Source: https://github.com/servicemeshinterface/smi-spec/blob/main/apis/traffic-specs/v1alpha4/traffic-specs.md

Service MeshKubernetesTraffic PolicyTraffic ManagementTraffic MetricsStandardsCNCFArchivedSpecificationCustom Resource Definitions

Properties

Name Type Description
apiVersion object
kind object
metadata object
spec object
View JSON Schema on GitHub

JSON Schema

udp-route-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://api-evangelist.github.io/service-mesh-interface/json-schema/udp-route-schema.json",
  "title": "SMI UDPRoute",
  "description": "Service Mesh Interface (SMI) UDPRoute resource (specs.smi-spec.io/v1alpha4). Matches UDP traffic by destination port. Source: https://github.com/servicemeshinterface/smi-spec/blob/main/apis/traffic-specs/v1alpha4/traffic-specs.md",
  "type": "object",
  "required": ["apiVersion", "kind", "metadata", "spec"],
  "properties": {
    "apiVersion": { "const": "specs.smi-spec.io/v1alpha4" },
    "kind": { "const": "UDPRoute" },
    "metadata": {
      "type": "object",
      "required": ["name"],
      "properties": {
        "name": { "type": "string" },
        "namespace": { "type": "string" }
      }
    },
    "spec": {
      "type": "object",
      "required": ["matches"],
      "properties": {
        "matches": {
          "type": "object",
          "required": ["ports"],
          "properties": {
            "ports": {
              "type": "array",
              "minItems": 1,
              "items": { "type": "integer", "minimum": 1, "maximum": 65535 }
            }
          }
        }
      }
    }
  }
}