OS
Schema Hub

EndpointHints

EndpointHints provides hints describing how an endpoint should be consumed.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/discovery.api.k8s.io/EndpointHints_v1.json
Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/discovery.api.k8s.io/EndpointHints_v1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

forNodesarray
forNodes indicates the node(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.
forZonesarray
forZones indicates the zone(s) this endpoint should be consumed by when using topology aware routing. May contain a maximum of 8 entries.