gateway api v1.6.2 experimental

XBackendTrafficPolicy.spec.targetRefs

TargetRefs identifies API object(s) to apply this policy to. Currently, Backends (A grouping of like endpoints such as Service, ServiceImport, or any implementation-specific backendRef) are the only valid API target references. Currently, a TargetRef cannot be scoped to a specific port on a Service.

3 fields
XBackendTrafficPolicy.spec.targetRefs fields and descriptions
Field / TypeDescription
group
string required

Group is the group of the target resource.

  • maxLength: 253
  • pattern: ^$|^[a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*$
kind
string required

Kind is kind of the target resource.

  • minLength: 1
  • maxLength: 63
  • pattern: ^[a-zA-Z]([-a-zA-Z0-9]*[a-zA-Z0-9])?$
name
string required

Name is the name of the target resource.

  • minLength: 1
  • maxLength: 253